diff --git a/application.fam b/application.fam index 0d6f005220b..8cb3abe343f 100644 --- a/application.fam +++ b/application.fam @@ -1,5 +1,5 @@ App( - appid="flipchess", + appid="chess", name="Chess", apptype=FlipperAppType.EXTERNAL, entry_point="flipchess_app", @@ -7,11 +7,13 @@ App( "gui", ], stack_size=4 * 1024, - order=40, + order=10, fap_icon="flipchess_10px.png", fap_icon_assets="icons", + fap_icon_assets_symbol="flipchess", fap_category="Games", - fap_description="Chess for Flipper", fap_author="Struan Clark (xtruan)", fap_weburl="https://github.com/xtruan/flipper-chess", + fap_version=(1, 6), + fap_description="Chess for Flipper", ) diff --git a/flipchess.h b/flipchess.h index 4df1475418d..4d8cabc1ec1 100644 --- a/flipchess.h +++ b/flipchess.h @@ -16,7 +16,7 @@ #include "views/flipchess_startscreen.h" #include "views/flipchess_scene_1.h" -#define FLIPCHESS_VERSION "v0.1.4" +#define FLIPCHESS_VERSION "v1.6.0" #define TEXT_BUFFER_SIZE 96 #define TEXT_SIZE (TEXT_BUFFER_SIZE - 1) diff --git a/helpers/flipchess_file.c b/helpers/flipchess_file.c index 257883c9397..0a3cf5a4f55 100644 --- a/helpers/flipchess_file.c +++ b/helpers/flipchess_file.c @@ -1,6 +1,5 @@ #include "flipchess_file.h" #include -#include #include // #define FLIPCHESS_APP_BASE_FOLDER APP_BOARDA_PATH("flipchess") diff --git a/sam/stm32_sam.cpp b/sam/stm32_sam.cpp index 1ab73a66d3c..41053a5eeb1 100644 --- a/sam/stm32_sam.cpp +++ b/sam/stm32_sam.cpp @@ -5400,15 +5400,14 @@ void STM32SAM::sam( } } + if(i < 256) { + input[i] = phonetic ? '\x9b' : '['; + } + if(!phonetic) { - strncat(input, "[", 256); if(!TextToPhonemes((unsigned char*)input)) { - // PrintUsage(); return; } - - } else { - strncat(input, "\x9b", 256); } SetInput(input);