polling test worked

This commit is contained in:
2021-06-03 22:08:16 +02:00
parent 184f0dce7e
commit 8da9b50156
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ ReturnValue_t STM32TestTask::performOneShotAction() {
void STM32TestTask::performSpiL3gd20hTest() {
SPI_HandleTypeDef spiHandle = {};
GyroL3GD20H gyroDevice(&spiHandle, spi::TransferModes::DMA);
GyroL3GD20H gyroDevice(&spiHandle, spi::TransferModes::POLLING);
gyroDevice.initialize();
gyroDevice.performOperation();
}