stm32: Make sure Output gpio driver is pushpull
@@ -131,6 +131,7 @@ impl<'d, T: Pin> Output<'d, T> {
let n = pin.pin() as usize;
r.pupdr().modify(|w| w.set_pupdr(n, vals::Pupdr::FLOATING));
r.moder().modify(|w| w.set_moder(n, vals::Moder::OUTPUT));
+ r.otyper().modify(|w| w.set_ot(n, vals::Ot::PUSHPULL));
pin.set_speed(speed);
});
