Skip to content

Commit a8133e7

Browse files
authored
FIX (rmt): fixes eot_level setting using flags in the TX structure
1 parent 745cdfb commit a8133e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/esp32-hal-rmt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ static bool _rmtWrite(int pin, rmt_data_t* data, size_t num_rmt_symbols, bool bl
333333
}
334334
// sets the End of trnasmission level to HIGH if the user has requested so
335335
if (bus->rmt_EOT_Level) {
336-
transmit_cfg.eot_level = 1; // EOT is HIGH
336+
transmit_cfg.flags.eot_level = 1; // EOT is HIGH
337337
}
338338
if (loopCancel) {
339339
// just resets and releases the channel, maybe, already done above, then exits

0 commit comments

Comments
 (0)