Skip to content
Snippets Groups Projects
Commit f3de99db authored by Samuel Tardieu's avatar Samuel Tardieu
Browse files

Add message when software watchdog stops motors

parent 692f7fa6
No related branches found
No related tags found
No related merge requests found
Pipeline #97526 passed
......@@ -143,6 +143,7 @@ pub async fn start_i2c_target(
if state.is_moving()
&& current_millis() >= WATCHDOG_EXPIRATION.load(Ordering::Relaxed)
{
defmt::debug!("stopping motors after watchdog has expired");
state.standby();
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment