diff --git a/fastspi.h b/fastspi.h index 2245ffe..f6e5cca 100644 --- a/fastspi.h +++ b/fastspi.h @@ -132,9 +132,9 @@ class SPIOutput : 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 diff --git a/platforms/esp/32/clockless_rmt_esp32.cpp b/platforms/esp/32/clockless_rmt_esp32.cpp index 9ea2bba..60168d7 100644 --- a/platforms/esp/32/clockless_rmt_esp32.cpp +++ b/platforms/esp/32/clockless_rmt_esp32.cpp @@ -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(channel)); rmt_write_items(mRMT_channel, mBuffer, mBufferSize, false); } else { // -- Use our custom driver to send the data incrementally diff --git a/platforms/esp/32/clockless_rmt_esp32.h b/platforms/esp/32/clockless_rmt_esp32.h index 5df111a..36ddf96 100644 --- a/platforms/esp/32/clockless_rmt_esp32.h +++ b/platforms/esp/32/clockless_rmt_esp32.h @@ -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"