Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FastLED/FastLED.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Troisi <sethtroisi@google.com>2022-02-23 02:18:04 +0300
committerSeth Troisi <sethtroisi@google.com>2022-02-23 02:18:04 +0300
commitadade9d248b8333cd8de7be08c094e425ce1ce31 (patch)
tree1da23e70a1bd3f814b7a3b81b24742f5eabc651c
parent4d73cddfe4bd2b370ee882b6f68769bf7f8309f4 (diff)
Prevent -Wunused-but-set-variable in clockless_rmt_esp32.h
-rw-r--r--src/platforms/esp/32/clockless_rmt_esp32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platforms/esp/32/clockless_rmt_esp32.h b/src/platforms/esp/32/clockless_rmt_esp32.h
index 66b04928..c4b28176 100644
--- a/src/platforms/esp/32/clockless_rmt_esp32.h
+++ b/src/platforms/esp/32/clockless_rmt_esp32.h
@@ -169,7 +169,7 @@ __attribute__ ((always_inline)) inline static uint32_t __clock_cycles() {
#if FASTLED_RMT_SERIAL_DEBUG == 1
#define FASTLED_DEBUG(format, errcode, ...) if (errcode != ESP_OK) { Serial.printf(PSTR("FASTLED: " format "\n"), errcode, ##__VA_ARGS__); }
#else
-#define FASTLED_DEBUG(format, ...)
+#define FASTLED_DEBUG(format, errcode, ...) (void) errcode;
#endif
// -- Configuration constants