Browse Source

fix warning

crude-e-h-1.0.0-alpha.1
Torkel Danielsson 2 years ago committed by Daniel Egger
parent
commit
bd8c2758ee
  1. 2
      src/dac.rs

2
src/dac.rs

@ -114,7 +114,7 @@ where
rcc.regs.apb1rstr.modify(|_, w| w.dacrst().set_bit());
rcc.regs.apb1rstr.modify(|_, w| w.dacrst().clear_bit());
unsafe { mem::uninitialized() }
unsafe { mem::MaybeUninit::uninit().assume_init() }
}
macro_rules! dac {

Loading…
Cancel
Save