Skip to content

Commit 2876c87

Browse files
authored
Update esp32-hal-rmt.c
1 parent de4e9b7 commit 2876c87

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cores/esp32/esp32-hal-rmt.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,6 @@ rmt_obj_t* rmtInit(int pin, bool tx_not_rx, rmt_reserve_memsize_t memsize)
535535
ch_start = RMT_RX_CH_START;
536536
ch_end = RMT_RX_CH_END;
537537
}
538-
j = 0; // fixes compiling option -Werror=maybe-uninitialized
539538
for (i=ch_start; i<=ch_end; i++) {
540539
for (j=0; j<buffers && i+j <= ch_end; j++) {
541540
// if the space is ocupied break and continue on other channel

0 commit comments

Comments
 (0)