fb18705b9b
Currently the time is calculated 8 times per second from (relatively) slow python code. Optimize the power consumed by reducing the number of times we check for wall time updates to only once-per-second and use native code generation to reduce VM overhead when executing this critical code. At the time of writing the difference is battery life has not yet been measured (but we know the current master branch is worse than v0.4 and, in theory at least, this should close the gap). Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk> |
||
---|---|---|
.. | ||
flash@79fc418f18 | ||
battery.py | ||
bma421.py | ||
cst816s.py | ||
hrs3300.py | ||
nrf_rtc.py | ||
signal.py | ||
st7789.py | ||
touch.py | ||
vibrator.py |