From ea6a98abefd4b968ebc11c98665adfc265f62ad3 Mon Sep 17 00:00:00 2001 From: estshorter <1430311+estshorter@users.noreply.github.com> Date: Sat, 16 Jan 2021 12:07:05 +0900 Subject: [PATCH] Remove an unused variable 'channel' --- cores/esp32/esp32-hal-rmt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/cores/esp32/esp32-hal-rmt.c b/cores/esp32/esp32-hal-rmt.c index 07750d96bba..6841175673f 100644 --- a/cores/esp32/esp32-hal-rmt.c +++ b/cores/esp32/esp32-hal-rmt.c @@ -241,7 +241,6 @@ bool rmtLoop(rmt_obj_t* rmt, rmt_data_t* data, size_t size) return false; } - int channel = rmt->channel; int allocated_size = MAX_DATA_PER_CHANNEL * rmt->buffers; if (size > allocated_size) {