we have centralized SPI management? do we?

This commit is contained in:
Andrey 2023-02-26 18:06:11 -05:00
parent f59c318df2
commit b5c27f01a6
1 changed files with 2 additions and 1 deletions

View File

@ -74,7 +74,8 @@ void initAccelerometer() {
return;
}
turnOnSpi(engineConfiguration->accelerometerSpiDevice);
// todo: we have centralized SPI management see other usages of 'turnOnSpi'
//turnOnSpi(engineConfiguration->accelerometerSpiDevice);
spiStart(driver, &accelerometerCfg);
initSpiCs((SPIConfig *)driver->config, engineConfiguration->LIS302DLCsPin);