Skip to content

Commit 55442a0

Browse files
authored
Remove an unused variable 'channel' (#4725)
1 parent c9b3e51 commit 55442a0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: cores/esp32/esp32-hal-rmt.c

-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,6 @@ bool rmtLoop(rmt_obj_t* rmt, rmt_data_t* data, size_t size)
241241
return false;
242242
}
243243

244-
int channel = rmt->channel;
245244
int allocated_size = MAX_DATA_PER_CHANNEL * rmt->buffers;
246245

247246
if (size > allocated_size) {

0 commit comments

Comments
 (0)