From 72f5322cc31e5ec70e85d436310b8dcd15eb4f59 Mon Sep 17 00:00:00 2001 From: Daniel Thompson Date: Thu, 25 Feb 2021 07:49:23 +0000 Subject: 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 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: -- cgit v0.10.2