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> |
||
---|---|---|
.. | ||
apps | ||
boards | ||
drivers | ||
fonts | ||
modules | ||
boot.py | ||
draw565.py | ||
gadgetbridge.py | ||
icons.py | ||
logo.py | ||
main.py | ||
ppg.py | ||
requirements.txt | ||
shell.py | ||
steplogger.py | ||
wasp.py | ||
widgets.py |