327 B
327 B
| tags | |||
|---|---|---|---|
|
A macro for handling errors arising from the ESP-IDF API's functions.
If a function returns anything other than ESP_OK, the macro prints a detailed
error message and then calls abort() to halt execution.
To achieve the same without aborting use ESP_ERROR_CHECK_WITHOUT_ABORT.