-
Notifications
You must be signed in to change notification settings - Fork 310
Closed
Labels
bugSomething isn't workingSomething isn't workingstatus:needs-attentionThis should be prioritizedThis should be prioritized
Description
Hey there,
I'm using async/embassy with some code that may panic but is allowed to restart so I thought I'd use RTC_watchdog for this (since the regular watchdog requires timergroup which is already used for embassy). but it seems like feeding the watchdog doesn't work. I used the example code with inside the loop:
critical_section::with(|cs| match RWDT.borrow_ref_mut(cs).as_mut() {
Some(watchdog) => {
println!("Feeding...");
watchdog.feed()
}
None => unreachable!(),
});
I can see it feeding but it still triggers after the timeout period (2 seconds in my case). I'm using ESP32S3.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingstatus:needs-attentionThis should be prioritizedThis should be prioritized
Type
Projects
Status
Done