diff options
author | SG <who.just.the.doctor@gmail.com> | 2021-08-02 14:15:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-02 14:15:24 +0300 |
commit | 95f44f4d332f2e2f2c8eff7e206fc06e5674f230 (patch) | |
tree | d2f38cc7934078a73f5a41ab4c8563d75af9604d /applications/applications.c | |
parent | 35c441f031204a89a418a151e7f159c6cfc92a49 (diff) |
[FL-1625] Overcurrent monitoring. Cli command for external 3.3v dcdc control. (#615)
* Apps: power observer for overcurrent monitoring
* Power: cli command for enable\disable externat 3.3v dcdc
Co-authored-by: あく <alleteam@gmail.com>
Diffstat (limited to 'applications/applications.c')
-rw-r--r-- | applications/applications.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/applications/applications.c b/applications/applications.c index c5850aa2..f61dc5b7 100644 --- a/applications/applications.c +++ b/applications/applications.c @@ -39,6 +39,7 @@ int32_t lfrfid_debug_app(void* p); int32_t storage_app(void* p); int32_t storage_app_test(void* p); int32_t dialogs_app(void* p); +int32_t power_observer(void* p); // On system start hooks declaration void irda_cli_init(); @@ -91,6 +92,10 @@ const FlipperApplication FLIPPER_SERVICES[] = { {.app = power_task, .name = "power_task", .stack_size = 1024, .icon = &A_Plugins_14}, #endif +#ifdef SRV_POWER_OBSERVER + {.app = power_observer, .name = "power_observer", .stack_size = 1024, .icon = &A_Plugins_14}, +#endif + #ifdef SRV_BT {.app = bt_task, .name = "bt_task", .stack_size = 1024, .icon = &A_Plugins_14}, #endif |