I2C Baro problems fix #5264

This commit is contained in:
rusefillc 2023-04-30 20:22:24 -04:00
parent b3c69300c5
commit f963450e5e
1 changed files with 1 additions and 0 deletions

View File

@ -125,6 +125,7 @@ void setBoardDefaultConfiguration() {
setInjectorPins();
setIgnitionPins();
int16_t hellenBoardId = engine->engineState.hellenBoardId;
if (hellenBoardId == BOARD_ID_2chan_e || hellenBoardId == BOARD_ID_2chan_f) {
// todo: flip that condition to check for "if not old board"
setHellenMMbaro();