Skip to content

Commit cd388ee

Browse files
authored
adds return value to rmtSetEOT()
1 parent 534d549 commit cd388ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cores/esp32/esp32-hal-rmt.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ bool rmtInit(int pin, rmt_ch_dir_t channel_direction, rmt_reserve_memsize_t mems
8585
<EOT_Level> shall be Zero (LOW) or non-zero (HIGH) value.
8686
It only affects the transmission process, therefore, it doesn't affect any IDLE LEVEL before starting the RMT transmission.
8787
The pre-transmission idle level can be set manually calling, for instance, digitalWrite(pin, Level).
88+
89+
Returns <true> when EOT has been correctly set for <pin>, <false> otherwise.
8890
*/
8991
void rmtSetEOT(int pin, uint8_t EOT_Level);
9092

0 commit comments

Comments
 (0)