Compare commits

...

4 Commits

Author SHA1 Message Date
fe8076ad07 222 2025-12-31 13:21:59 +03:00
a6916159b6 wip: 2025-12-31 13:18:55 +03:00
1c8230747f Merge commit '3620b54406b27452651b6a9e235d87f35e374daa' into wip 2025-12-31 13:16:38 +03:00
3620b54406 feat: 2025-12-31 13:16:23 +03:00
2 changed files with 2 additions and 1 deletions

View File

@@ -16,6 +16,7 @@
#define ZH_MCP23S17_GPIO_INPUT true
#define ZH_MCP23S17_GPIO_LOW false
#define ZH_MCP23S17_GPIO_HIGH true
//eee
/**
* @brief MCP23S17 expander initial default values.

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)) \
{ \