Remove an unused variable 'channel' (#4725)
This commit is contained in:
parent
c9b3e512dd
commit
55442a05a4
@ -241,7 +241,6 @@ bool rmtLoop(rmt_obj_t* rmt, rmt_data_t* data, size_t size)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
int channel = rmt->channel;
|
|
||||||
int allocated_size = MAX_DATA_PER_CHANNEL * rmt->buffers;
|
int allocated_size = MAX_DATA_PER_CHANNEL * rmt->buffers;
|
||||||
|
|
||||||
if (size > allocated_size) {
|
if (size > allocated_size) {
|
||||||
|
Loading…
Reference in New Issue
Block a user