I2C Baro problems fix #5264

This commit is contained in:
rusefi 2023-04-30 19:16:29 -04:00
parent a1f9553641
commit 689cd6dae5
3 changed files with 6 additions and 2 deletions

View File

@ -143,7 +143,6 @@ void boardOnConfigurationChange(engine_configuration_s * /*previousConfiguration
void setBoardConfigOverrides() {
setHellen144LedPins();
setupVbatt();
setHellenMMbaro();
// todo: do we need this conditional on boardId or not really?
setHellenMegaEnPin();
@ -168,6 +167,7 @@ void setBoardDefaultConfiguration() {
engineConfiguration->vvtPins[0] = H144_OUT_PWM7;
engineConfiguration->vvtPins[1] = H144_OUT_PWM8;
setHellenMMbaro();
engineConfiguration->boardUseTempPullUp = true;
engineConfiguration->acSwitch = Gpio::Unassigned;

View File

@ -62,7 +62,6 @@ void setBoardConfigOverrides() {
setHellen144LedPins();
setHellenMegaEnPin();
setupVbatt();
setHellenMMbaro();
setHellenSdCardSpi1();
configureHellenMegaAccCS2Pin();
@ -100,6 +99,9 @@ void setBoardDefaultConfiguration() {
setIgnitionPins();
setHondaK();
// not override since sometimes we have isues?
setHellenMMbaro();
engineConfiguration->displayLogicLevelsInEngineSniffer = true;
engineConfiguration->globalTriggerAngleOffset = 663;

View File

@ -270,6 +270,8 @@ enable2ndByteCanID = false
maintainConstantValue = throttlePedalWOTVoltage, { (calibrationMode == @@TsCalMode_PedalMax@@ ) ? calibrationValue : throttlePedalWOTVoltage }
maintainConstantValue = throttlePedalSecondaryWOTVoltage, { (calibrationMode == @@TsCalMode_PedalMax@@ ) ? calibrationValue2 : throttlePedalSecondaryWOTVoltage }
requiresPowerCycle = lps25BaroSensorScl
requiresPowerCycle = lps25BaroSensorSda
requiresPowerCycle = warningLedPin
requiresPowerCycle = runningLedPin
requiresPowerCycle = binarySerialTxPin