aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32
diff options
context:
space:
mode:
authorJamie Bird <[email protected]>2024-06-21 15:29:02 +0100
committerJamie Bird <[email protected]>2024-06-21 15:29:02 +0100
commit18ba56534bbff5fb00382e54aba8dbc32365e896 (patch)
tree988456d5046994185283b5c9aa24686ffb4d1efe /embassy-stm32
parent060d1f6e6f36b01e1f0ec4beb20499ac22d94b24 (diff)
Fix Formatting Issues
Diffstat (limited to 'embassy-stm32')
-rw-r--r--embassy-stm32/src/i2c/v2.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-stm32/src/i2c/v2.rs b/embassy-stm32/src/i2c/v2.rs
index 27381cd3c..8c8df79dd 100644
--- a/embassy-stm32/src/i2c/v2.rs
+++ b/embassy-stm32/src/i2c/v2.rs
@@ -110,9 +110,9 @@ impl<'d, M: Mode> I2c<'d, M> {
110 } 110 }
111 111
112 // Wait for the bus to be free 112 // Wait for the bus to be free
113 while info.regs.isr().read().busy(){ 113 while info.regs.isr().read().busy() {
114 timeout.check()?; 114 timeout.check()?;
115 }; 115 }
116 116
117 let reload = if reload { 117 let reload = if reload {
118 i2c::vals::Reload::NOTCOMPLETED 118 i2c::vals::Reload::NOTCOMPLETED