diff --git a/Makefile b/Makefile index ba8e5d3..19294b8 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -PYSQUARED_VERSION ?= v2.0.0-alpha-25w17 +PYSQUARED_VERSION ?= v2.0.0-alpha-25w20 PYSQUARED ?= git+https://github.com/proveskit/pysquared@$(PYSQUARED_VERSION) .PHONY: all diff --git a/config.json b/config.json index 57f838f..af56489 100644 --- a/config.json +++ b/config.json @@ -53,6 +53,7 @@ "battery_voltage": 5.2, "current_draw": 240.5, "reboot_time": 3600, +"longest_allowable_sleep_time": 600, "turbo_clock": false, "radio": { "license": "", diff --git a/main.py b/main.py index c80b7d9..62b28c2 100644 --- a/main.py +++ b/main.py @@ -96,7 +96,7 @@ c = Satellite(logger, config) - sleep_helper = SleepHelper(c, logger, watchdog) + sleep_helper = SleepHelper(c, logger, watchdog, config) cdh = CommandDataHandler(config, logger, radio)