forked from bbulkow/FastLED-idf
Fixed compiling with newest idf again
This commit is contained in:
@@ -5,6 +5,8 @@
|
|||||||
//static const char *TAG = "FastLED";
|
//static const char *TAG = "FastLED";
|
||||||
#include "esp_idf_version.h"
|
#include "esp_idf_version.h"
|
||||||
|
|
||||||
|
#include "hal/rmt_ll.h"
|
||||||
|
|
||||||
|
|
||||||
// -- Forward reference
|
// -- Forward reference
|
||||||
class ESP32RMTController;
|
class ESP32RMTController;
|
||||||
@@ -444,7 +446,7 @@ void ESP32RMTController::startOnChannel(int channel)
|
|||||||
|
|
||||||
// -- Initialize the counters that keep track of where we are in
|
// -- Initialize the counters that keep track of where we are in
|
||||||
// the pixel data and the RMT buffer
|
// the pixel data and the RMT buffer
|
||||||
mRMT_mem_start = & (RMTMEM.chan[mRMT_channel].data32[0].val);
|
mRMT_mem_start = & (RMTMEM.chan[mRMT_channel].data32[0]);
|
||||||
mRMT_mem_ptr = mRMT_mem_start;
|
mRMT_mem_ptr = mRMT_mem_start;
|
||||||
mCur = 0;
|
mCur = 0;
|
||||||
mWhichHalf = 0;
|
mWhichHalf = 0;
|
||||||
|
Reference in New Issue
Block a user