Skip to content

Commit

Permalink
esp32_rmt_led_strip: fix compile with ESP-IDF >= 5
Browse files Browse the repository at this point in the history
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
  • Loading branch information
stintel committed May 26, 2023
1 parent 97c1c34 commit e615804
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion esphome/components/esp32_rmt_led_strip/led_strip.cpp
@@ -1,3 +1,4 @@
#include <cinttypes>
#include "led_strip.h"

#ifdef USE_ESP32
Expand Down Expand Up @@ -195,7 +196,7 @@ void ESP32RMTLEDStripLightOutput::dump_config() {
break;
}
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_);
}

Expand Down

0 comments on commit e615804

Please sign in to comment.