Commit 4bcb9d7
committed
Fix dhylands#36
* Implement sub-second sleep function, hal_sleep_us() for i2c (intended for CPython).
* Document with a comment to help with future failures on platforms that are missing `time.sleep_us()`1 parent 4376476 commit 4bcb9d7
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
63 | 67 | | |
64 | 68 | | |
65 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
| 208 | + | |
0 commit comments