diff options
| author | Jamie Bird <[email protected]> | 2024-06-21 15:29:02 +0100 |
|---|---|---|
| committer | Jamie Bird <[email protected]> | 2024-06-21 15:29:02 +0100 |
| commit | 18ba56534bbff5fb00382e54aba8dbc32365e896 (patch) | |
| tree | 988456d5046994185283b5c9aa24686ffb4d1efe /embassy-stm32 | |
| parent | 060d1f6e6f36b01e1f0ec4beb20499ac22d94b24 (diff) | |
Fix Formatting Issues
Diffstat (limited to 'embassy-stm32')
| -rw-r--r-- | embassy-stm32/src/i2c/v2.rs | 4 |
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 |
