diff options
author | coreglitch <mail@s3f.ru> | 2020-11-14 13:08:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-14 13:08:07 +0300 |
commit | afcfcd4d4aab8bd72416169e1db371a24d09dc6f (patch) | |
tree | 6b37f164cbb0efccc815f74791fa89716ec53f53 /applications/applications.h | |
parent | a61eef0f99971bae182a243518f23cb27e08c6a6 (diff) |
FL-103 Gpio test (#236)
* fail build
* add gpio tester
Diffstat (limited to 'applications/applications.h')
-rw-r--r-- | applications/applications.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/applications/applications.h b/applications/applications.h index 673ed461..0759eb6c 100644 --- a/applications/applications.h +++ b/applications/applications.h @@ -33,6 +33,7 @@ void nfc_task(void* p); void irukagotchi_task(void* p); void power_task(void* p); void application_vibro(void* p); +void app_gpio_test(void* p); const FlipperStartupApp FLIPPER_STARTUP[] = { #ifdef APP_DISPLAY @@ -109,7 +110,14 @@ const FlipperStartupApp FLIPPER_STARTUP[] = { #ifdef APP_SPEAKER_DEMO {.app = coreglitch_demo_0, .name = "coreglitch_demo_0", .libs = {0}}, #endif -}; + +#ifdef APP_GPIO_DEMO + { + .app = app_gpio_test, + .name = "gpio test", + .libs = {1, FURI_LIB{"gui_task"}}, +#endif + }; const FlipperStartupApp FLIPPER_APPS[] = { #ifdef BUILD_EXAMPLE_BLINK @@ -143,4 +151,8 @@ const FlipperStartupApp FLIPPER_APPS[] = { #ifdef BUILD_VIBRO_DEMO {.app = application_vibro, .name = "application_vibro", .libs = {1, FURI_LIB{"input_task"}}}, #endif + +#ifdef BUILD_GPIO_DEMO + {.app = app_gpio_test, .name = "gpio test", .libs = {1, FURI_LIB{"gui_task"}}}, +#endif };
\ No newline at end of file |