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:
authorSam Guyer <sam.guyer@gmail.com>2022-04-10 17:40:48 +0300
committerGitHub <noreply@github.com>2022-04-10 17:40:48 +0300
commit4cb5522d29b0bf9258b45ed42f85157036f8fe09 (patch)
tree1c324ec34b8694da3adff05cc4e620d42fe93bf2
parent77e24144ec09c57640c369f7dc230514e30e50eb (diff)
parentadade9d248b8333cd8de7be08c094e425ce1ce31 (diff)
Merge pull request #1369 from sethtroisi/fix_warning
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