You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SPI::writeBytes is defined differently between Esp82666 and Esp32; where the first param is const on esp8266 it is not on Esp32. Since the data should not be overwritten, this param should be marked as const.
Esp32 => void SPIClass::writeBytes(uint8_t * data, uint32_t size)
Esp8266 => void SPIClass::writeBytes(const uint8_t * data, uint32_t size);
This causes compile issues when the environement is set to strict compile option.
The text was updated successfully, but these errors were encountered:
Description:
SPI::writeBytes is defined differently between Esp82666 and Esp32; where the first param is const on esp8266 it is not on Esp32. Since the data should not be overwritten, this param should be marked as const.
Esp32 => void SPIClass::writeBytes(uint8_t * data, uint32_t size)
Esp8266 => void SPIClass::writeBytes(const uint8_t * data, uint32_t size);
This causes compile issues when the environement is set to strict compile option.
The text was updated successfully, but these errors were encountered: