[chore] cleanup whitespace

This commit is contained in:
Gabriel Csapo 2022-01-28 10:48:29 -08:00
parent 92668553f4
commit 96c2de660a
1 changed files with 5 additions and 6 deletions

View File

@ -213,7 +213,6 @@ void TFT_eSPI::pushPixels(const void* data_in, uint32_t len)
***************************************************************************************/
/*
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;
volatile uint32_t* spi_w = (volatile uint32_t*)_spi_w;
@ -287,7 +286,7 @@ void TFT_eSPI::pushBlock(uint16_t color, uint32_t len){
{
while (*_spi_cmd&SPI_USR);
*_spi_cmd = SPI_USR;
len -= 32;
len -= 32;
}
// Do not wait here