mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-26 22:40:25 +00:00
Fix DMA SPI memory increment define (#3075)
This commit is contained in:
parent
f0f2a6c11f
commit
ac892f3d03
1 changed files with 2 additions and 2 deletions
|
@ -283,7 +283,7 @@ bool furi_hal_spi_bus_trx_dma(
|
||||||
if(tx_buffer == NULL) {
|
if(tx_buffer == NULL) {
|
||||||
// RX mode, use dummy data instead of TX buffer
|
// RX mode, use dummy data instead of TX buffer
|
||||||
tx_buffer = (uint8_t*)&dma_dummy_u32;
|
tx_buffer = (uint8_t*)&dma_dummy_u32;
|
||||||
tx_mem_increase_mode = LL_DMA_PERIPH_NOINCREMENT;
|
tx_mem_increase_mode = LL_DMA_MEMORY_NOINCREMENT;
|
||||||
} else {
|
} else {
|
||||||
tx_mem_increase_mode = LL_DMA_MEMORY_INCREMENT;
|
tx_mem_increase_mode = LL_DMA_MEMORY_INCREMENT;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue