diff options
author | Damien George <damien@micropython.org> | 2023-10-05 16:32:19 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2023-10-05 21:24:47 +1100 |
commit | 6f76d1c7fa28c4bcb94a1fa33e3cca1ba8c8cdfd (patch) | |
tree | e4c2a7647216cf32341021ded94fd16ce21a9ad6 /docs/conf.py | |
parent | c2e9a6f2a566ce4e1045f3ab93969a1b43543c6c (diff) |
rp2: Implement time.time_ns with time_us_64 so it has us resolution.
Currently on rp2 the time.time_ns() function has only seconds resolution.
This commit makes it have microsecond resolution, by using the output of
time_us_64() instead of the RTC.
Tested that it does not drift from the RTC over long periods of time.
Signed-off-by: Damien George <damien.p.george@gmail.com>
Diffstat (limited to 'docs/conf.py')
0 files changed, 0 insertions, 0 deletions