Disable P_OIL alarm
This commit is contained in:
		@ -178,7 +178,8 @@ bool check_alarms() {
 | 
				
			|||||||
  if (Vehicle_data.t_oil <= TOIL_ALARM_THRESH) {
 | 
					  if (Vehicle_data.t_oil <= TOIL_ALARM_THRESH) {
 | 
				
			||||||
    toil_last_valid = now;
 | 
					    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 tmot_alarm = now - tmot_last_valid >= TMOT_ALARM_TIME;
 | 
				
			||||||
  bool toil_alarm = now - toil_last_valid >= TOIL_ALARM_TIME;
 | 
					  bool toil_alarm = now - toil_last_valid >= TOIL_ALARM_TIME;
 | 
				
			||||||
  bool alarm_active = poil_alarm || tmot_alarm || toil_alarm;
 | 
					  bool alarm_active = poil_alarm || tmot_alarm || toil_alarm;
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user