diff --git a/common/stm32_nucleo/STM32TestTask.cpp b/common/stm32_nucleo/STM32TestTask.cpp index 2fb568a..6c3feb2 100644 --- a/common/stm32_nucleo/STM32TestTask.cpp +++ b/common/stm32_nucleo/STM32TestTask.cpp @@ -28,7 +28,7 @@ ReturnValue_t STM32TestTask::performOneShotAction() { void STM32TestTask::performSpiL3gd20hTest() { SPI_HandleTypeDef spiHandle = {}; - GyroL3GD20H gyroDevice(&spiHandle, spi::TransferModes::POLLING); + GyroL3GD20H gyroDevice(&spiHandle, spi::TransferModes::DMA); gyroDevice.initialize(); gyroDevice.performOperation(); }