forked from bbulkow/FastLED-idf
Reduced useless warnings
This commit is contained in:
@ -132,9 +132,9 @@ class SPIOutput<SPI_UART1_DATA, SPI_UART1_CLOCK, SPI_SPEED> : public AVRUSART1SP
|
||||
#else
|
||||
# if !defined(FASTLED_INTERNAL) && !defined(FASTLED_ALL_PINS_HARDWARE_SPI)
|
||||
# ifdef FASTLED_HAS_PRAGMA_MESSAGE
|
||||
# pragma message "No hardware SPI pins defined. All SPI access will default to bitbanged output"
|
||||
//# pragma message "No hardware SPI pins defined. All SPI access will default to bitbanged output"
|
||||
# else
|
||||
# warning "No hardware SPI pins defined. All SPI access will default to bitbanged output"
|
||||
//# warning "No hardware SPI pins defined. All SPI access will default to bitbanged output"
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
@ -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