Remove an unused variable 'channel' (#4725)
This commit is contained in:
parent
c9b3e512dd
commit
55442a05a4
1 changed files with 0 additions and 1 deletions
|
|
@ -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 a new issue