parent
a37256ce38
commit
b7d479f7e4
|
@ -103,7 +103,8 @@ void boardOnConfigurationChange(engine_configuration_s * /*previousConfiguration
|
|||
void setBoardConfigOverrides() {
|
||||
setHellenVbatt();
|
||||
|
||||
setHellenSdCardSpi1();
|
||||
setHellenSdCardSpi1Hardware();
|
||||
engineConfiguration->isSdCardEnabled = true;
|
||||
|
||||
setDefaultHellenAtPullUps();
|
||||
|
||||
|
|
|
@ -113,7 +113,7 @@ void hellenBoardStandBy() {
|
|||
extern OutputPin accelerometerChipSelect;
|
||||
|
||||
void hellenMegaSdWithAccelerometer() {
|
||||
setHellenSdCardSpi1();
|
||||
setHellenSdCardSpi1Hardware();
|
||||
// weird order of operations? i guess it does not really matter
|
||||
hellenMegaAccelerometerPreInitCS2Pin();
|
||||
}
|
||||
|
|
|
@ -80,6 +80,7 @@ void setBoardDefaultConfiguration() {
|
|||
setHellenMMbaro();
|
||||
|
||||
engineConfiguration->displayLogicLevelsInEngineSniffer = true;
|
||||
engineConfiguration->isSdCardEnabled = true;
|
||||
|
||||
engineConfiguration->globalTriggerAngleOffset = 0;
|
||||
|
||||
|
|
|
@ -279,11 +279,6 @@ static void setAccelerometerSpi() {
|
|||
engineConfiguration->accelerometerCsPin = Gpio::H_SPI1_CS2;
|
||||
}
|
||||
|
||||
static void setHellenSdCardSpi1() {
|
||||
setHellenSdCardSpi1Hardware();
|
||||
engineConfiguration->isSdCardEnabled = true;
|
||||
}
|
||||
|
||||
static void setHellen64SdCardSpi() {
|
||||
engineConfiguration->isSdCardEnabled = true;
|
||||
engineConfiguration->sdCardSpiDevice = SPI_DEVICE_3;
|
||||
|
|
Loading…
Reference in New Issue