From 8e8c5035eaaac577e93fb0fc7db9daaa2c476ef7 Mon Sep 17 00:00:00 2001 From: lbernstone Date: Tue, 9 Apr 2019 13:09:40 -0600 Subject: [PATCH] Added rmtDeinit to header. Fixes #2585 (#2587) * Added rmtDeinit to header. Fixes #2585 * oops. missing ; --- cores/esp32/esp32-hal-rmt.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cores/esp32/esp32-hal-rmt.h b/cores/esp32/esp32-hal-rmt.h index 944178e3..19afcef8 100644 --- a/cores/esp32/esp32-hal-rmt.h +++ b/cores/esp32/esp32-hal-rmt.h @@ -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