Fix error

This commit is contained in:
Bodmer 2021-04-24 09:54:13 +01:00 committed by GitHub
parent 079d7f6ee5
commit ff3a888212
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ void TFT_eSPI::pushPixelsDMA(uint16_t* image, uint32_t len)
dmaWait(); dmaWait();
channel_config_set_bswap(&dma_tx_config, !_swapBytes); channel_config_set_bswap(&dma_tx_config, !_swapBytes);
dma_channel_configure(dma_tx_channel, &dma_tx_config, &spi_get_hw(spi0)->dr, (uint16_t*)buffer, len, true); dma_channel_configure(dma_tx_channel, &dma_tx_config, &spi_get_hw(spi0)->dr, (uint16_t*)image, len, true);
} }
/*************************************************************************************** /***************************************************************************************