Commit d060e85
i2c read - truncate return buf to request size
i2c verification was failing due to on windows there are additional
bytes in the response from send_command. So truncate the extra bytes to
the request size
Signed-off-by: Kieran Levin <ktl@frame.work>1 parent 77a9090 commit d060e85
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
181 | 183 | | |
182 | 184 | | |
183 | 185 | | |
| |||
0 commit comments