we have centralized SPI management? do we?
This commit is contained in:
parent
f59c318df2
commit
b5c27f01a6
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue