forked from espressif/esp-idf
docs: clarify ESP_RETURN_ON_ERROR result
This commit is contained in:
committed by
Darian Leung
parent
55658d4c36
commit
ebe1141b25
@@ -85,7 +85,7 @@ Error message will typically look like this::
|
|||||||
``ESP_RETURN_ON_ERROR`` Macro
|
``ESP_RETURN_ON_ERROR`` Macro
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
:c:macro:`ESP_RETURN_ON_ERROR` macro checks the error code, if the error code is not equal :c:macro:`ESP_OK`, it prints the message and returns.
|
:c:macro:`ESP_RETURN_ON_ERROR` macro checks the error code, if the error code is not equal :c:macro:`ESP_OK`, it prints the message and returns the error code.
|
||||||
|
|
||||||
|
|
||||||
.. _esp-goto-on-error-macro:
|
.. _esp-goto-on-error-macro:
|
||||||
|
Reference in New Issue
Block a user