Remove an unused variable 'channel' (#4725)

This commit is contained in:
estshorter 2021-01-21 21:31:25 +09:00 committed by GitHub
parent c9b3e512dd
commit 55442a05a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {