mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2024-09-21 18:37:11 +00:00
Update TFT_eSPI_ESP32.c
This commit is contained in:
parent
e829dcac21
commit
b1fb969e86
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user