mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'contrib/github_pr_12551' into 'master'
Minor fix style-guide.rst (GitHub PR) Closes IDFGH-11413 See merge request espressif/esp-idf!27113
This commit is contained in:
commit
159beab9d9
@ -239,7 +239,7 @@ The standard C ``assert()`` function, defined in ``assert.h`` should be used to
|
||||
|
||||
.. note::
|
||||
|
||||
When asserting a value of type ``esp_err_t``is equal to ``ESP_OK``, use the :ref:`esp-error-check-macro` instead of an ``assert()``.
|
||||
When asserting a value of type ``esp_err_t`` is equal to ``ESP_OK``, use the :ref:`esp-error-check-macro` instead of an ``assert()``.
|
||||
|
||||
It is possible to configure ESP-IDF projects with assertions disabled (see :ref:`CONFIG_COMPILER_OPTIMIZATION_ASSERTION_LEVEL`). Therefore, functions called in an ``assert()`` statement should not have side-effects.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user