forked from bbulkow/FastLED-idf
Reduced useless warnings
This commit is contained in:
@@ -433,7 +433,7 @@ void ESP32RMTController::startOnChannel(int channel)
|
||||
|
||||
if (FASTLED_RMT_BUILTIN_DRIVER) {
|
||||
// -- Use the built-in RMT driver to send all the data in one shot
|
||||
rmt_register_tx_end_callback(doneOnRMTChannel, (void *) channel);
|
||||
rmt_register_tx_end_callback(doneOnRMTChannel, reinterpret_cast<void *>(channel));
|
||||
rmt_write_items(mRMT_channel, mBuffer, mBufferSize, false);
|
||||
} else {
|
||||
// -- Use our custom driver to send the data incrementally
|
||||
|
||||
@@ -117,7 +117,7 @@ extern "C" {
|
||||
#include "esp_intr_alloc.h"
|
||||
#include "driver/gpio.h"
|
||||
#include "driver/rmt.h"
|
||||
#include "driver/periph_ctrl.h"
|
||||
#include "esp_private/periph_ctrl.h"
|
||||
#include "freertos/semphr.h"
|
||||
#include "soc/rmt_struct.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user