all modes appear to work well

This commit is contained in:
2021-06-10 21:36:29 +02:00
parent cdb7dbff07
commit 5691ba6859
3 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ void ObjectFactory::produce(void* args) {
#if OBSW_PERFORM_L3GD20H_TEST == 1
spi::MspCfgBase* mspCfg = nullptr;
spi::TransferModes transferMode = spi::TransferModes::INTERRUPT;
spi::TransferModes transferMode = spi::TransferModes::POLLING;
if(transferMode == spi::TransferModes::POLLING) {
auto typedCfg = new spi::MspPollingConfigStruct();
spi::h743zi::standardPollingCfg(*typedCfg);