From 7c7220e2f8029a5d6b4262b686a2ba724f4ca0c4 Mon Sep 17 00:00:00 2001 From: Gonzalo Sanchez Date: Sat, 23 Mar 2024 17:17:08 +0100 Subject: [PATCH] by default dont use DMA --- Core/Src/Runes/Runes.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/Src/Runes/Runes.hpp b/Core/Src/Runes/Runes.hpp index 394fac15..1293afe7 100644 --- a/Core/Src/Runes/Runes.hpp +++ b/Core/Src/Runes/Runes.hpp @@ -75,6 +75,7 @@ SPI::Instance SPI::instance3 = { .SCK = &PC10, .MOSI = &PC12, .MISO = &PC11, .SS .hdma_rx = DMA::Stream::DMA1Stream6, .baud_rate_prescaler = SPI_BAUDRATEPRESCALER_256, .mode = SPI_MODE_SLAVE, + .use_DMA = false; }; SPI::Peripheral SPI::spi3 = SPI::Peripheral::peripheral3;