diff options
author | Arseniy-Movshev <dodoradio@outlook.com> | 2023-05-30 23:56:00 +0100 |
---|---|---|
committer | Arseniy-Movshev <dodoradio@outlook.com> | 2023-05-31 00:39:08 +0100 |
commit | 09b5e8d4333090a898f04f5976dce6e9e83cff88 (patch) | |
tree | 280f521d54e34966a2972f8f4f18abaaaa54f1ce /LICENSE | |
parent | 9b604475a0c55b59f6932d960a02241eece3c768 (diff) |
Clear the step counter in hardware after midnight
The midnight detection code is basic, it just checks if the date has changed between days.
So that the user doesn't lose steps on their midnight outings, we write the current value to the previous day's log file before wiping the counter.
This will always be the previous day, even if recordings have been missing for a few days.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions