Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Kharisov <ah@bright-box.com>2021-06-09 16:04:49 +0300
committerGitHub <noreply@github.com>2021-06-09 16:04:49 +0300
commit6c74ea65c27d86a98db55882ff86563bb161423e (patch)
tree792f0fbee2b9c35d7b7b3bc48f73f0eb7cd23ddb /applications/applications.c
parent498ffe8d2c7bcc2a107db3d5624fb4f612aac34c (diff)
[FL-1369, FL-1397, FL-1420] IRDA + SDcard (#513)
* Add saving to SD-Card (not ready yet) * Add saving to SD-card (done) * Select previous menu item * Fix central button * Fix current_button * Refactoring * Add notifications * [FL-1417] Add IRDA CLI CLI commands: 1) ir_rx Receives all IR-trafic, decodes and prints result to stdout 2) ir_tx <protocol> <address> <command> Transmits IR-signal. Address and command are hex-formatted * Fix BUG with random memory corruption at random time in random place in random universe in random unknown space and time forever amen * Fix submenu set_selected_item * Bring protocol order back * Add TODO sdcard check
Diffstat (limited to 'applications/applications.c')
-rw-r--r--applications/applications.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/applications/applications.c b/applications/applications.c
index 576d32d8..00916956 100644
--- a/applications/applications.c
+++ b/applications/applications.c
@@ -41,6 +41,7 @@ int32_t app_archive(void* p);
int32_t notification_app(void* p);
// On system start hooks declaration
+void irda_cli_init();
void nfc_cli_init();
void subghz_cli_init();
void bt_cli_init();
@@ -104,7 +105,7 @@ const FlipperApplication FLIPPER_SERVICES[] = {
#endif
#ifdef SRV_IRDA
- {.app = irda, .name = "irda", .stack_size = 1024, .icon = A_Plugins_14},
+ {.app = irda, .name = "irda", .stack_size = 1024 * 3, .icon = A_Plugins_14},
#endif
#ifdef SRV_EXAMPLE_QRCODE
@@ -186,7 +187,7 @@ const FlipperApplication FLIPPER_APPS[] = {
#endif
#ifdef APP_IRDA
- {.app = irda, .name = "Infrared", .stack_size = 1024, .icon = A_Infrared_14},
+ {.app = irda, .name = "Infrared", .stack_size = 1024 * 3, .icon = A_Infrared_14},
#endif
#ifdef APP_GPIO_DEMO
@@ -203,6 +204,7 @@ const size_t FLIPPER_APPS_COUNT = sizeof(FLIPPER_APPS) / sizeof(FlipperApplicati
// On system start hooks
const FlipperOnStartHook FLIPPER_ON_SYSTEM_START[] = {
+ irda_cli_init,
#ifdef APP_NFC
nfc_cli_init,
#endif