steplogger: Write less frequently

Currently we dump the step data every 30 minutes. This was a good
interval for testing but we can extend it a little without any
problems.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
This commit is contained in:
Daniel Thompson 2021-02-25 07:49:23 +00:00
parent affa101169
commit 72f5322cc3

View file

@ -15,7 +15,7 @@ import wasp
from micropython import const
TICK_PERIOD = const(6 * 60)
DUMP_LENGTH = const(5)
DUMP_LENGTH = const(30)
DUMP_PERIOD = const(DUMP_LENGTH * TICK_PERIOD)
class StepIterator: