Commit 3d2e138
committed
i2c: Handle the case where a restart is issued right after the address
One case is on read operations for 10bit I2C.
First a write is issued with the address, then a restart and a the msb of
the address is resent with this time the read flag.
Because there is no data phase, the peripheral entered the active state but
never switched to either Read or Write.1 parent 8bbde25 commit 3d2e138
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| |||
0 commit comments