mirror of
https://github.com/esphome/esphome.git
synced 2024-11-26 08:55:22 +01:00
esp32_rmt_led_strip: fix compile with ESP-IDF >= 5 (#4856)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
7dcdf80f49
commit
796b64541f
1 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
#include <cinttypes>
|
||||||
#include "led_strip.h"
|
#include "led_strip.h"
|
||||||
|
|
||||||
#ifdef USE_ESP32
|
#ifdef USE_ESP32
|
||||||
|
@ -195,7 +196,7 @@ void ESP32RMTLEDStripLightOutput::dump_config() {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
ESP_LOGCONFIG(TAG, " RGB Order: %s", rgb_order);
|
ESP_LOGCONFIG(TAG, " RGB Order: %s", rgb_order);
|
||||||
ESP_LOGCONFIG(TAG, " Max refresh rate: %u", *this->max_refresh_rate_);
|
ESP_LOGCONFIG(TAG, " Max refresh rate: %" PRIu32, *this->max_refresh_rate_);
|
||||||
ESP_LOGCONFIG(TAG, " Number of LEDs: %u", this->num_leds_);
|
ESP_LOGCONFIG(TAG, " Number of LEDs: %u", this->num_leds_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue