From 55442a05a445db3dc35bb06ec6b19d7c75a27e91 Mon Sep 17 00:00:00 2001 From: estshorter <1430311+estshorter@users.noreply.github.com> Date: Thu, 21 Jan 2021 21:31:25 +0900 Subject: [PATCH] Remove an unused variable 'channel' (#4725) --- 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 07750d96..68411756 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) {