Skip to content

Commit

Permalink
Update new RMT function rmtSetEOT(pin, EOT_Level) in the pin remap ma…
Browse files Browse the repository at this point in the history
…cros (#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
  • Loading branch information
SuGlider authored Feb 20, 2024
1 parent 3c30798 commit 1847723
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cores/esp32/io_pin_remap.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ int8_t gpioNumberToDigitalPin(int8_t gpioNumber);

// cores/esp32/esp32-hal-rmt.h
#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 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)
Expand Down
1 change: 1 addition & 0 deletions docs/en/migration_guides/2.x_to_3.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ Removed APIs
New APIs
********

* ``rmtSetEOT``
* ``rmtWriteAsync``
* ``rmtTransmitCompleted``
* ``rmtSetRxMinThreshold``
Expand Down

0 comments on commit 1847723

Please sign in to comment.