Disable P_OIL alarm

This commit is contained in:
Jasper Blanckenburg 2022-03-23 15:09:40 +01:00
parent b5ece154c5
commit 58b0b72c6d
1 changed files with 2 additions and 1 deletions

View File

@ -178,7 +178,8 @@ bool check_alarms() {
if (Vehicle_data.t_oil <= TOIL_ALARM_THRESH) {
toil_last_valid = now;
}
bool poil_alarm = now - poil_last_valid >= POIL_ALARM_TIME;
// bool poil_alarm = now - poil_last_valid >= POIL_ALARM_TIME;
bool poil_alarm = false;
bool tmot_alarm = now - tmot_last_valid >= TMOT_ALARM_TIME;
bool toil_alarm = now - toil_last_valid >= TOIL_ALARM_TIME;
bool alarm_active = poil_alarm || tmot_alarm || toil_alarm;