mirror of
https://github.com/esphome/esphome.git
synced 2026-02-08 08:41:59 +00:00
Merge branch 'dump_summary' into integration
This commit is contained in:
@@ -13,9 +13,9 @@ inline constexpr size_t GPIO_SUMMARY_MAX_LEN = 48;
|
||||
|
||||
#define LOG_PIN(prefix, pin) \
|
||||
if ((pin) != nullptr) { \
|
||||
char pin_buf_[GPIO_SUMMARY_MAX_LEN]; \
|
||||
(pin)->dump_summary(pin_buf_, sizeof(pin_buf_)); \
|
||||
ESP_LOGCONFIG(TAG, prefix "%s", pin_buf_); \
|
||||
char esphome_pin_buf_[GPIO_SUMMARY_MAX_LEN]; \
|
||||
(pin)->dump_summary(esphome_pin_buf_, sizeof(esphome_pin_buf_)); \
|
||||
ESP_LOGCONFIG(TAG, prefix "%s", esphome_pin_buf_); \
|
||||
}
|
||||
|
||||
// put GPIO flags in a namespace to not pollute esphome namespace
|
||||
|
||||
Reference in New Issue
Block a user