diff options
author | Damien George <damien@micropython.org> | 2020-08-31 00:49:19 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2020-08-31 00:49:58 +1000 |
commit | 40153b800a8324f6cf3e47dd71cafcf90c3c4718 (patch) | |
tree | d546eecd5c922aa0947fdf4ad0158e53b5e4983d /tests/basics/struct_micropython.py.exp | |
parent | 836bca9956d9f02b9c0f6f396dc76cbd1586de10 (diff) | |
download | micropython-40153b800a8324f6cf3e47dd71cafcf90c3c4718.tar.gz micropython-40153b800a8324f6cf3e47dd71cafcf90c3c4718.zip |
esp32/mphalport: Fix mp_hal_time_ns offset.
gettimeofday returns seconds since 2000/1/1 so needs to be adjusted to
seconds since 1970/1/1 to give the correct return value of mp_hal_time_ns.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/basics/struct_micropython.py.exp')
0 files changed, 0 insertions, 0 deletions