This commit is contained in:
Matthew Kennedy 2021-03-31 19:54:59 -07:00 committed by GitHub
parent 8aed80c332
commit d6c9f1d84f
1 changed files with 2 additions and 3 deletions

View File

@ -102,9 +102,8 @@ static void populateFrame(Sensors1& msg) {
msg.clt = Sensor::get(SensorType::Clt).value_or(0) + PACK_ADD_TEMPERATURE; msg.clt = Sensor::get(SensorType::Clt).value_or(0) + PACK_ADD_TEMPERATURE;
msg.iat = Sensor::get(SensorType::Iat).value_or(0) + PACK_ADD_TEMPERATURE; msg.iat = Sensor::get(SensorType::Iat).value_or(0) + PACK_ADD_TEMPERATURE;
// todo: does aux temp even work? msg.aux1 = Sensor::get(SensorType::AuxTemp1).value_or(0) + PACK_ADD_TEMPERATURE;
msg.aux1 = 0 + PACK_ADD_TEMPERATURE; msg.aux2 = Sensor::get(SensorType::AuxTemp2).value_or(0) + PACK_ADD_TEMPERATURE;
msg.aux2 = 0 + PACK_ADD_TEMPERATURE;
msg.mcuTemp = getMCUInternalTemperature(); msg.mcuTemp = getMCUInternalTemperature();
msg.fuelLevel = Sensor::get(SensorType::FuelLevel).value_or(0); msg.fuelLevel = Sensor::get(SensorType::FuelLevel).value_or(0);