This commit is contained in:
2025-12-31 13:18:55 +03:00
parent 1c8230747f
commit a6916159b6

View File

@@ -4,7 +4,7 @@ static const char *TAG = "mcp23s17";
#define ZH_LOGI(msg, ...) ESP_LOGI(TAG, msg, ##__VA_ARGS__)
#define ZH_LOGE(msg, err, ...) ESP_LOGE(TAG, "[%s:%d:%s] " msg, __FILE__, __LINE__, esp_err_to_name(err), ##__VA_ARGS__)
// wwww
#define ZH_ERROR_CHECK(cond, err, cleanup, msg, ...) \
if (!(cond)) \
{ \