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
custom
cooljqln 3 months ago
commit 9011899619
  1. 2
      src/tangara/system_fsm/idle.cpp

@ -23,7 +23,7 @@ namespace system_fsm {
namespace states { namespace states {
[[maybe_unused]] static const char kTag[] = "IDLE"; [[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) { static void timer_callback(TimerHandle_t timer) {
events::System().Dispatch(internal::IdleTimeout{}); events::System().Dispatch(internal::IdleTimeout{});

Loading…
Cancel
Save