This commit is contained in:
parent
f583ad6bdd
commit
961a0f3320
|
@ -100,6 +100,7 @@ void boardOnConfigurationChange(engine_configuration_s * /*previousConfiguration
|
|||
void setBoardConfigOverrides() {
|
||||
setHellen144LedPins();
|
||||
setupVbatt();
|
||||
setHellenMMbaro();
|
||||
|
||||
// rev.D uses SPI1 pins for CAN2, but rev.E and later uses SPI1 for SD-card
|
||||
if (engine->engineState.hellenBoardId != BOARD_ID_2chan_d) {
|
||||
|
|
|
@ -143,6 +143,7 @@ void boardOnConfigurationChange(engine_configuration_s * /*previousConfiguration
|
|||
void setBoardConfigOverrides() {
|
||||
setHellen144LedPins();
|
||||
setupVbatt();
|
||||
setHellenMMbaro();
|
||||
|
||||
setHellenSdCardSpi2();
|
||||
|
||||
|
|
|
@ -62,6 +62,7 @@ void setBoardConfigOverrides() {
|
|||
setHellen144LedPins();
|
||||
setHellenMegaEnPin();
|
||||
setupVbatt();
|
||||
setHellenMMbaro();
|
||||
|
||||
setHellenSdCardSpi1();
|
||||
configureHellenMegaAccCS2Pin();
|
||||
|
|
|
@ -252,3 +252,8 @@ static void setDefaultHellenAtPullUps(){
|
|||
engineConfiguration->clt.config.bias_resistor = HELLEN_DEFAULT_AT_PULLUP;
|
||||
engineConfiguration->iat.config.bias_resistor = HELLEN_DEFAULT_AT_PULLUP;
|
||||
}
|
||||
|
||||
static void setHellenMMbaro() {
|
||||
engineConfiguration->lps25BaroSensorScl = Gpio::B10;
|
||||
engineConfiguration->lps25BaroSensorSda = Gpio::B11;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue