Skip to content

Commit

Permalink
Remove an unused variable 'channel' (espressif#4725)
Browse files Browse the repository at this point in the history
  • Loading branch information
estshorter authored Jan 21, 2021
1 parent c9b3e51 commit 55442a0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cores/esp32/esp32-hal-rmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 55442a0

Please sign in to comment.