summaryrefslogtreecommitdiffstats
path: root/firmware/export
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-12-31 16:47:44 +0000
committerAidan MacDonald <amachronic@protonmail.com>2022-01-02 20:11:03 +0000
commitaf872b54ec3f8f7ad6ec111e4fe80dd2c7ac9946 (patch)
tree83b03175ca50757359d98d2ad965ca8dfdfc773f /firmware/export
parenta7703e4926075ee41269ca96d1806444107e65f2 (diff)
downloadrockbox-af872b54ec3f8f7ad6ec111e4fe80dd2c7ac9946.tar.gz
rockbox-af872b54ec3f8f7ad6ec111e4fe80dd2c7ac9946.zip
powermgmt: Bugfixes to time estimation code
Guard against division by zero and prevent the time_now value from going negative if the counter drops below zero. Change-Id: Ia8cadfe76086d6d0200964c1f27bab0be708b135
Diffstat (limited to 'firmware/export')
0 files changed, 0 insertions, 0 deletions