issues with DMA

This commit is contained in:
Robin Müller 2021-06-04 11:24:56 +02:00
parent 8da9b50156
commit 12fb19ec7b
No known key found for this signature in database
GPG Key ID: BE6480244DFE612C
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}