forked from bbulkow/FastLED-idf
Changes needed to compile again with new idf
This commit is contained in:
@@ -6,7 +6,10 @@
|
||||
#include "esp_idf_version.h"
|
||||
|
||||
#include "hal/rmt_ll.h"
|
||||
#include "driver/rmt.h"
|
||||
|
||||
// RMTMEM address is declared in <target>.peripherals.ld
|
||||
extern "C" rmt_mem_t RMTMEM;
|
||||
|
||||
// -- Forward reference
|
||||
class ESP32RMTController;
|
||||
@@ -446,11 +449,7 @@ void ESP32RMTController::startOnChannel(int channel)
|
||||
|
||||
// -- Initialize the counters that keep track of where we are in
|
||||
// the pixel data and the RMT buffer
|
||||
mRMT_mem_start = & (RMTMEM.chan[mRMT_channel].data32[0]
|
||||
#ifdef OLD_IDF
|
||||
.val
|
||||
#endif
|
||||
);
|
||||
mRMT_mem_start = & (RMTMEM.chan[mRMT_channel].data32[0].val);
|
||||
mRMT_mem_ptr = mRMT_mem_start;
|
||||
mCur = 0;
|
||||
mWhichHalf = 0;
|
||||
|
Reference in New Issue
Block a user