Fixed compiling with newest idf again

This commit is contained in:
2022-01-11 13:53:25 +01:00
parent a18abff773
commit cc466349b7

View File

@@ -5,6 +5,8 @@
//static const char *TAG = "FastLED";
#include "esp_idf_version.h"
#include "hal/rmt_ll.h"
// -- Forward reference
class ESP32RMTController;
@@ -444,7 +446,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].val);
mRMT_mem_start = & (RMTMEM.chan[mRMT_channel].data32[0]);
mRMT_mem_ptr = mRMT_mem_start;
mCur = 0;
mWhichHalf = 0;