Skip to content

Commit 8e8c503

Browse files
lbernstoneme-no-dev
authored andcommitted
Added rmtDeinit to header. Fixes #2585 (#2587)
* Added rmtDeinit to header. Fixes #2585 * oops. missing ;
1 parent 1db72a2 commit 8e8c503

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: cores/esp32/esp32-hal-rmt.h

+4
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@ bool rmtSetCarrier(rmt_obj_t* rmt, bool carrier_en, bool carrier_level, uint32_t
122122
*/
123123
bool rmtSetFilter(rmt_obj_t* rmt, bool filter_en, uint32_t filter_level);
124124

125+
/**
126+
* Deinitialize the driver
127+
*/
128+
bool rmtDeinit(rmt_obj_t *rmt);
125129

126130
// TODO:
127131
// * uninstall interrupt when all channels are deinit

0 commit comments

Comments
 (0)