summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcooljqln <cooljqln@noreply.codeberg.org>2025-01-10 01:40:56 +0000
committercooljqln <cooljqln@noreply.codeberg.org>2025-01-10 01:40:56 +0000
commit90118996194d90449e7e7d1fbeb08da587b10642 (patch)
treed73ec4fa0e0bafcc83a03566b106daa55dabb453 /src
parent3505279b49bb3d419a527eea23b976a48d72b99e (diff)
parent2a92bb1869ae9db69c0353805f1e8c43288b28af (diff)
downloadtangara-fw-90118996194d90449e7e7d1fbeb08da587b10642.tar.gz
Merge pull request 'Extend idle -> sleep time to 2 minutes' (#175) from tjk/tangara-fw:extend-idle-poweroff into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/175
Diffstat (limited to 'src')
-rw-r--r--src/tangara/system_fsm/idle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tangara/system_fsm/idle.cpp b/src/tangara/system_fsm/idle.cpp
index 2d66b01d..ebe3dc5f 100644
--- a/src/tangara/system_fsm/idle.cpp
+++ b/src/tangara/system_fsm/idle.cpp
@@ -23,7 +23,7 @@ namespace system_fsm {
namespace states {
[[maybe_unused]] static const char kTag[] = "IDLE";
-static const TickType_t kTicksBeforeSleep = pdMS_TO_TICKS(10000);
+static const TickType_t kTicksBeforeSleep = pdMS_TO_TICKS(120000);
static void timer_callback(TimerHandle_t timer) {
events::System().Dispatch(internal::IdleTimeout{});