clean up warning

This commit is contained in:
bunnie 2021-04-16 01:13:56 +08:00
parent ffb38957bf
commit 1378203427

View file

@ -239,6 +239,7 @@ mod implementation {
self.wdt.wfo(utra::wdt::INTERRUPT_INTERRUPT, 1);
}
#[allow(dead_code)]
#[cfg(feature = "watchdog")]
pub fn check_wdt(&mut self) {
let state = self.wdt.r(utra::wdt::STATE);