Update TFT_eSPI_ESP32.c

This commit is contained in:
Bodmer 2021-01-27 05:20:31 +00:00 committed by GitHub
parent e829dcac21
commit b1fb969e86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -195,7 +195,7 @@ void TFT_eSPI::pushBlock(uint16_t color, uint32_t len){
uint32_t color32 = (color<<8 | color >>8)<<16 | (color<<8 | color >>8);
bool empty = true;
uint32_t* spi_w = (uint32_t*)_spi_w;
volatile uint32_t* spi_w = (volatile uint32_t*)_spi_w;
if (len > 31)
{
*_spi_mosi_dlen = 511;