Commit b69dc02
committed
ztimerset: Make selftest more reliable
On Windows, the `Sleep()` function resolution (which is used by
`zclock_sleep()`) can typically be as bad as 16 ms. This caused the
selftest to randomly fail because it waited exactly the remaining time
to the timer expiration before asserting the result. Made this more
reliable by adding some margin to the sleep.1 parent 8e4f37d commit b69dc02
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| |||
0 commit comments