diff options
author | SG <who.just.the.doctor@gmail.com> | 2021-06-28 17:42:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-28 17:42:30 +0300 |
commit | 22e1ecb642dbde2dd814b73000af4608a992e092 (patch) | |
tree | e597daccb68254c070c65d651782b6efc79f57c3 /applications/applications.c | |
parent | 5d746234e9a4bf9fddaa2c14036245623d534f68 (diff) |
New LF-RFID app (#534)
* Hal lfrfid: add read timer pulse and period config fns
* New debug application for lfrfid subsystem
* New lfrfid: app, fix naming
* App lfrfid: assets
* Container view module
* App ibutton: remove unused header
* App lfrfid scenes
* App notification, add yield to blocking operations, add speaker volume control
* App lfrfid: reading key scene
* Assets: placeholder icon
* App lfrfid: reworked container view module
* App lfrfid: new scenes
* App lfrfid: write scene
* App lfrfid: write hid
* App lfrfid: emulate scene
* App lfrfid: save name scene
* App lfrfid: add missing file
Diffstat (limited to 'applications/applications.c')
-rw-r--r-- | applications/applications.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/applications/applications.c b/applications/applications.c index bf75005d..694e136e 100644 --- a/applications/applications.c +++ b/applications/applications.c @@ -16,7 +16,6 @@ int32_t gui_task(void* p); int32_t backlight_control(void* p); int32_t irda(void* p); int32_t app_loader(void* p); -int32_t app_lfrfid(void* p); int32_t nfc_task(void* p); int32_t dolphin_task(void* p); int32_t power_task(void* p); @@ -40,6 +39,8 @@ int32_t internal_storage_task(void* p); int32_t app_archive(void* p); int32_t notification_app(void* p); int32_t scened_app(void* p); +int32_t lfrfid_app(void* p); +int32_t lfrfid_debug_app(void* p); // On system start hooks declaration void irda_cli_init(); @@ -104,7 +105,8 @@ const FlipperApplication FLIPPER_SERVICES[] = { #endif #ifdef SRV_LF_RFID - {.app = app_lfrfid, .name = "125 kHz RFID", .stack_size = 1024, .icon = A_Plugins_14}, + // TODO: fix stack size when sd api will be in separate thread + {.app = lfrfid_app, .name = "125 kHz RFID", .stack_size = 4096, .icon = A_Plugins_14}, #endif #ifdef SRV_IRDA @@ -186,7 +188,8 @@ const FlipperApplication FLIPPER_APPS[] = { #endif #ifdef APP_LF_RFID - {.app = app_lfrfid, .name = "125 kHz RFID", .stack_size = 1024, .icon = A_125khz_14}, + // TODO: fix stack size when sd api will be in separate thread + {.app = lfrfid_app, .name = "125 kHz RFID", .stack_size = 4096, .icon = A_125khz_14}, #endif #ifdef APP_IRDA @@ -302,6 +305,10 @@ const FlipperApplication FLIPPER_DEBUG_APPS[] = { #ifdef APP_SCENED {.app = scened_app, .name = "Templated Scene", .stack_size = 1024, .icon = A_Plugins_14}, #endif + +#ifdef APP_LF_RFID + {.app = lfrfid_debug_app, .name = "LF-RFID Debug", .stack_size = 1024, .icon = A_125khz_14}, +#endif }; const size_t FLIPPER_DEBUG_APPS_COUNT = sizeof(FLIPPER_DEBUG_APPS) / sizeof(FlipperApplication); |