Update stm32-metapac, includes chiptool changes to use real Rust enums now.
This commit is contained in:
@ -49,7 +49,7 @@ impl<'d, T: Instance> IndependentWatchdog<'d, T> {
|
||||
|
||||
let wdg = T::regs();
|
||||
wdg.kr().write(|w| w.set_key(Key::ENABLE));
|
||||
wdg.pr().write(|w| w.set_pr(Pr(pr)));
|
||||
wdg.pr().write(|w| w.set_pr(Pr::from_bits(pr)));
|
||||
wdg.rlr().write(|w| w.set_rl(rl));
|
||||
|
||||
trace!(
|
||||
|
Reference in New Issue
Block a user