[FL-931] keypad test app, canvas draw circle/disc functions (#364)

* new keypad test app, added canvas circle/disc fn
* resources cleanup on exit
* fix - release mutex

Co-authored-by: coreglitch <mail@s3f.ru>
This commit is contained in:
its your bedtime
2021-03-10 15:38:01 +03:00
committed by GitHub
parent 78e1b79139
commit 468ee09785
5 changed files with 237 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ int32_t sd_filesystem(void* p);
int32_t app_subghz(void* p);
int32_t gui_test(void* p);
int32_t keypad_test(void* p);
const FlipperApplication FLIPPER_SERVICES[] = {
#ifdef APP_CLI
@@ -153,6 +154,10 @@ const FlipperApplication FLIPPER_SERVICES[] = {
#ifdef APP_SUBGHZ
{.app = app_subghz, .name = "app_subghz", .stack_size = 1024, .icon = A_Plugins_14},
#endif
#ifdef APP_KEYPAD_TEST
{.app = keypad_test, .name = "keypad_test", .icon = A_Plugins_14},
#endif
};
const size_t FLIPPER_SERVICES_COUNT = sizeof(FLIPPER_SERVICES) / sizeof(FlipperApplication);
@@ -229,6 +234,11 @@ const FlipperApplication FLIPPER_PLUGINS[] = {
#ifdef BUILD_SUBGHZ
{.app = app_subghz, .name = "app_subghz", .stack_size = 1024, .icon = A_Plugins_14},
#endif
#ifdef BUILD_KEYPAD_TEST
{.app = keypad_test, .name = "keypad_test", .icon = A_Plugins_14},
#endif
};
const size_t FLIPPER_PLUGINS_COUNT = sizeof(FLIPPER_PLUGINS) / sizeof(FlipperApplication);