eolas/zk/ESP_ERROR_CHECK.md
2025-12-17 18:22:42 +00:00

327 B

tags
C
ESP32
ESP-IDF

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.