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:
parent
affa101169
commit
72f5322cc3
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ import wasp
|
||||||
from micropython import const
|
from micropython import const
|
||||||
|
|
||||||
TICK_PERIOD = const(6 * 60)
|
TICK_PERIOD = const(6 * 60)
|
||||||
DUMP_LENGTH = const(5)
|
DUMP_LENGTH = const(30)
|
||||||
DUMP_PERIOD = const(DUMP_LENGTH * TICK_PERIOD)
|
DUMP_PERIOD = const(DUMP_LENGTH * TICK_PERIOD)
|
||||||
|
|
||||||
class StepIterator:
|
class StepIterator:
|
||||||
|
|
Loading…
Reference in a new issue