diff --git a/app/src/core/communication/low/can.rs b/app/src/core/communication/low/can.rs index 2c54a57f..9cb0e6fa 100644 --- a/app/src/core/communication/low/can.rs +++ b/app/src/core/communication/low/can.rs @@ -165,7 +165,9 @@ pub async fn can_receiving_handler( #[embassy_executor::task] async fn can_two_watchdog(event_sender: EventSender, data_sender: DataSender) { - Timer::after_secs(20).await; + Timer::after_secs(5).await; + + send_data!(data_sender, Datatype::Info, Info::StartingCanWatchdog as u64); let mut lv_trigger = true; let mut hv_trigger = true; loop { @@ -187,5 +189,7 @@ async fn can_two_watchdog(event_sender: EventSender, data_sender: DataSender) { } else { hv_trigger = true; } + + Timer::after_millis(1000).await; } } diff --git a/config/config.toml b/config/config.toml index af1fe20e..c19aa5ef 100644 --- a/config/config.toml +++ b/config/config.toml @@ -278,3 +278,7 @@ colour = "red" label = "LvBmsTimedOut" colour = "red" +[[Info]] +label = "StartingCanWatchdog" +colour = "blue" +