Skip to content

Commit

Permalink
New RMT driver
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Apr 29, 2024
1 parent 8b9c282 commit 4be9db5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/include/esp-idf/bindings.h
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,13 @@
#endif
#include "driver/periph_ctrl.h"
#include "driver/rmt.h"
#if ESP_IDF_VERSION_MAJOR >= 5
#define rmt_channel_t rmt_drv_channel_t // Rename to avoid conflict with rmt_channel_t in rmt.h
#include "driver/rmt_encoder.h"
#include "driver/rmt_tx.h"
#include "driver/rmt_rx.h"
#undef rmt_channel_t
#endif
#include "driver/rtc_cntl.h"
#include "driver/rtc_io.h"
#ifdef CONFIG_IDF_TARGET_ESP32
Expand Down

0 comments on commit 4be9db5

Please sign in to comment.