Fix DMA SPI memory increment define (#3075)

This commit is contained in:
Max Andreev 2023-09-14 12:15:20 +03:00 committed by GitHub
parent f0f2a6c11f
commit ac892f3d03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -283,7 +283,7 @@ bool furi_hal_spi_bus_trx_dma(
if(tx_buffer == NULL) {
// RX mode, use dummy data instead of TX buffer
tx_buffer = (uint8_t*)&dma_dummy_u32;
tx_mem_increase_mode = LL_DMA_PERIPH_NOINCREMENT;
tx_mem_increase_mode = LL_DMA_MEMORY_NOINCREMENT;
} else {
tx_mem_increase_mode = LL_DMA_MEMORY_INCREMENT;
}