issues with DMA
This commit is contained in:
parent
8da9b50156
commit
12fb19ec7b
@ -28,7 +28,7 @@ ReturnValue_t STM32TestTask::performOneShotAction() {
|
|||||||
|
|
||||||
void STM32TestTask::performSpiL3gd20hTest() {
|
void STM32TestTask::performSpiL3gd20hTest() {
|
||||||
SPI_HandleTypeDef spiHandle = {};
|
SPI_HandleTypeDef spiHandle = {};
|
||||||
GyroL3GD20H gyroDevice(&spiHandle, spi::TransferModes::POLLING);
|
GyroL3GD20H gyroDevice(&spiHandle, spi::TransferModes::DMA);
|
||||||
gyroDevice.initialize();
|
gyroDevice.initialize();
|
||||||
gyroDevice.performOperation();
|
gyroDevice.performOperation();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user