diff options
author | Damien George <damien@micropython.org> | 2024-10-24 17:22:27 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-10-24 23:24:09 +1100 |
commit | 120ac0f8d25fe6ee6269c31b11690373c5b55653 (patch) | |
tree | d700210024f3d48c4084f2dac823ed2b413ada1d /docs/esp32/quickref.rst | |
parent | ca6aed7649adcc25445e3da73a65bfbbca209728 (diff) |
rp2/modmachine: Re-sync time_ns offset when coming out of lightsleep.
Prior to this fix, `tests/extmod/vfs_lfs_mtime.py` would fail when run
after the `tests/ports/rp2/rp2_lightsleep.py` test, because
`time.time_ns()` would have a large and constant offset from `time.time()`.
Fix this by re-syncing the time-ns offset when coming out of lightsleep.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/esp32/quickref.rst')
0 files changed, 0 insertions, 0 deletions