enable clock first
This commit is contained in:
@ -632,7 +632,7 @@ impl<'d, T: Instance> Bus<'d, T> {
|
||||
});
|
||||
}
|
||||
|
||||
<T as RccPeripheral>::reset_and_enable();
|
||||
<T as RccPeripheral>::enable_and_reset();
|
||||
|
||||
T::Interrupt::unpend();
|
||||
unsafe { T::Interrupt::enable() };
|
||||
|
Reference in New Issue
Block a user