Unverified Commit 1847723c authored by Rodrigo Garcia's avatar Rodrigo Garcia Committed by GitHub

Update new RMT function rmtSetEOT(pin, EOT_Level) in the pin remap macros (#9266)

* Fix: adds RMT new function  to io_pin_remap list

* Fix: adds rmtSetEOT(int pin, uint8_t EOT_Level) to the new API list

* Fix: error in macro definition - left over from function signature
parent 3c307985
...@@ -76,6 +76,7 @@ int8_t gpioNumberToDigitalPin(int8_t gpioNumber); ...@@ -76,6 +76,7 @@ int8_t gpioNumberToDigitalPin(int8_t gpioNumber);
// cores/esp32/esp32-hal-rmt.h // cores/esp32/esp32-hal-rmt.h
#define rmtInit(pin, channel_direction, memsize, frequency_Hz) rmtInit(digitalPinToGPIONumber(pin), channel_direction, memsize, frequency_Hz) #define rmtInit(pin, channel_direction, memsize, frequency_Hz) rmtInit(digitalPinToGPIONumber(pin), channel_direction, memsize, frequency_Hz)
#define rmtSetEOT(pin, EOT_Level) rmtSetEOT(digitalPinToGPIONumber(pin), EOT_Level)
#define rmtWrite(pin, data, num_rmt_symbols, timeout_ms) rmtWrite(digitalPinToGPIONumber(pin), data, num_rmt_symbols, timeout_ms) #define rmtWrite(pin, data, num_rmt_symbols, timeout_ms) rmtWrite(digitalPinToGPIONumber(pin), data, num_rmt_symbols, timeout_ms)
#define rmtWriteAsync(pin, data, num_rmt_symbols) rmtWriteAsync(digitalPinToGPIONumber(pin), data, num_rmt_symbols) #define rmtWriteAsync(pin, data, num_rmt_symbols) rmtWriteAsync(digitalPinToGPIONumber(pin), data, num_rmt_symbols)
#define rmtWriteLooping(pin, data, num_rmt_symbols) rmtWriteLooping(digitalPinToGPIONumber(pin), data, num_rmt_symbols) #define rmtWriteLooping(pin, data, num_rmt_symbols) rmtWriteLooping(digitalPinToGPIONumber(pin), data, num_rmt_symbols)
......
...@@ -90,6 +90,7 @@ Removed APIs ...@@ -90,6 +90,7 @@ Removed APIs
New APIs New APIs
******** ********
* ``rmtSetEOT``
* ``rmtWriteAsync`` * ``rmtWriteAsync``
* ``rmtTransmitCompleted`` * ``rmtTransmitCompleted``
* ``rmtSetRxMinThreshold`` * ``rmtSetRxMinThreshold``
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment