Fix Formatting Issues

This commit is contained in:
Jamie Bird 2024-06-21 15:29:02 +01:00
parent 060d1f6e6f
commit 18ba56534b

View File

@ -110,9 +110,9 @@ impl<'d, M: Mode> I2c<'d, M> {
}
// Wait for the bus to be free
while info.regs.isr().read().busy(){
while info.regs.isr().read().busy() {
timeout.check()?;
};
}
let reload = if reload {
i2c::vals::Reload::NOTCOMPLETED