diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2021-02-25 07:49:23 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2021-02-25 07:49:23 (GMT) |
| commit | 72f5322cc31e5ec70e85d436310b8dcd15eb4f59 (patch) | |
| tree | 997003c8bb4b752cd7dc8bacf9540f31333931b4 | |
| parent | affa101169ea242d7597078bc131403eb3624f5a (diff) | |
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>
| -rw-r--r-- | wasp/steplogger.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wasp/steplogger.py b/wasp/steplogger.py index ca5a968..eb5946d 100644 --- a/wasp/steplogger.py +++ b/wasp/steplogger.py @@ -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: |
