Skip to content

Commit

Permalink
Added rmtDeinit to header. Fixes #2585 (#2587)
Browse files Browse the repository at this point in the history
* Added rmtDeinit to header. Fixes #2585

* oops.  missing ;
  • Loading branch information
lbernstone authored and me-no-dev committed Apr 9, 2019
1 parent 1db72a2 commit 8e8c503
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cores/esp32/esp32-hal-rmt.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ bool rmtSetCarrier(rmt_obj_t* rmt, bool carrier_en, bool carrier_level, uint32_t
*/
bool rmtSetFilter(rmt_obj_t* rmt, bool filter_en, uint32_t filter_level);

/**
* Deinitialize the driver
*/
bool rmtDeinit(rmt_obj_t *rmt);

// TODO:
// * uninstall interrupt when all channels are deinit
Expand Down

0 comments on commit 8e8c503

Please sign in to comment.