mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-04-07 06:33:54 +08:00
reset heartbeat_engaged once heartbeat is lost
This commit is contained in:
@@ -236,6 +236,9 @@ void tick_handler(void) {
|
||||
heartbeat_lost = true;
|
||||
}
|
||||
|
||||
// clear heartbeat engaged state
|
||||
heartbeat_engaged = false;
|
||||
|
||||
if (current_safety_mode != SAFETY_SILENT) {
|
||||
set_safety_mode(SAFETY_SILENT, 0U);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user