Unverified Commit b1fb969e authored by Bodmer's avatar Bodmer Committed by GitHub

Update TFT_eSPI_ESP32.c

parent e829dcac
...@@ -195,7 +195,7 @@ void TFT_eSPI::pushBlock(uint16_t color, uint32_t len){ ...@@ -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); uint32_t color32 = (color<<8 | color >>8)<<16 | (color<<8 | color >>8);
bool empty = true; bool empty = true;
uint32_t* spi_w = (uint32_t*)_spi_w; volatile uint32_t* spi_w = (volatile uint32_t*)_spi_w;
if (len > 31) if (len > 31)
{ {
*_spi_mosi_dlen = 511; *_spi_mosi_dlen = 511;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment