[chore] cleanup whitespace
This commit is contained in:
parent
92668553f4
commit
96c2de660a
|
|
@ -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){
|
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;
|
||||||
volatile uint32_t* spi_w = (volatile uint32_t*)_spi_w;
|
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);
|
while (*_spi_cmd&SPI_USR);
|
||||||
*_spi_cmd = SPI_USR;
|
*_spi_cmd = SPI_USR;
|
||||||
len -= 32;
|
len -= 32;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Do not wait here
|
// Do not wait here
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue