forked from espressif/esp-idf
Minor fix style-guide.rst
This commit is contained in:
@@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user