mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 14:48:35 -07:00
Merge branch 'pr/404' into 420
This commit is contained in:
@@ -1,14 +1,14 @@
|
|||||||
#include "../power_settings_app.h"
|
#include "../power_settings_app.h"
|
||||||
#include <lib/toolbox/value_index.h>
|
#include <lib/toolbox/value_index.h>
|
||||||
|
|
||||||
#define SHUTDOWN_IDLE_DELAY_COUNT 8
|
#define SHUTDOWN_IDLE_DELAY_COUNT 9
|
||||||
#define SCENE_EVENT_SELECT_SHUTDOWN_IDLE_DELAY 0
|
#define SCENE_EVENT_SELECT_SHUTDOWN_IDLE_DELAY 0
|
||||||
|
|
||||||
const char* const shutdown_idle_delay_text[SHUTDOWN_IDLE_DELAY_COUNT] =
|
const char* const shutdown_idle_delay_text[SHUTDOWN_IDLE_DELAY_COUNT] =
|
||||||
{"OFF", "15min", "30min", "1h", "6h", "12h", "24h", "48h"};
|
{"OFF", "15min", "30min", "1h", "2h", "6h", "12h", "24h", "48h"};
|
||||||
|
|
||||||
const uint32_t shutdown_idle_delay_value[SHUTDOWN_IDLE_DELAY_COUNT] =
|
const uint32_t shutdown_idle_delay_value[SHUTDOWN_IDLE_DELAY_COUNT] =
|
||||||
{0, 900000, 1800000, 3600000, 21600000, 43200000, 86400000, 172800000};
|
{0, 900000, 1800000, 3600000, 7200000, 21600000, 43200000, 86400000, 172800000};
|
||||||
|
|
||||||
static void power_settings_scene_shutodwn_idle_callback(void* context, uint32_t index) {
|
static void power_settings_scene_shutodwn_idle_callback(void* context, uint32_t index) {
|
||||||
PowerSettingsApp* app = context;
|
PowerSettingsApp* app = context;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
entry,status,name,type,params
|
entry,status,name,type,params
|
||||||
Version,+,8.42,,
|
Version,+,8.41,,
|
||||||
Header,+,applications/services/bt/bt_service/bt.h,,
|
Header,+,applications/services/bt/bt_service/bt.h,,
|
||||||
Header,+,applications/services/cli/cli.h,,
|
Header,+,applications/services/cli/cli.h,,
|
||||||
Header,+,applications/services/cli/cli_vcp.h,,
|
Header,+,applications/services/cli/cli_vcp.h,,
|
||||||
|
|||||||
|
1
lib/scons
Submodule
1
lib/scons
Submodule
Submodule lib/scons added at c2d1f09f61
Reference in New Issue
Block a user