docs: clarify ESP_RETURN_ON_ERROR result

This commit is contained in:
Richard Allen
2024-04-22 09:56:58 -05:00
committed by Darian Leung
parent 55658d4c36
commit ebe1141b25

View File

@@ -85,7 +85,7 @@ Error message will typically look like this::
``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: