sam updates

This commit is contained in:
RogueMaster
2022-10-20 17:50:49 -04:00
parent 3baee5d4d4
commit e85b7a54cf
2 changed files with 49 additions and 1 deletions
+29 -1
View File
@@ -1,6 +1,6 @@
App(
appid="SAM",
name="SAM",
name="SAM AYBABTU",
apptype=FlipperAppType.PLUGIN,
entry_point="sam_app",
requires=[
@@ -12,3 +12,31 @@ App(
fap_icon="../../../assets/icons/Archive/music_10px.png",
fap_category="Music",
)
App(
appid="SAM_YES",
name="SAM YES",
apptype=FlipperAppType.PLUGIN,
entry_point="sam_app_yes",
requires=[
"gui",
"dialogs",
],
stack_size=4 * 1024,
order=20,
fap_icon="../../../assets/icons/Archive/music_10px.png",
fap_category="Music",
)
App(
appid="SAM_NO",
name="SAM NO",
apptype=FlipperAppType.PLUGIN,
entry_point="sam_app_no",
requires=[
"gui",
"dialogs",
],
stack_size=4 * 1024,
order=20,
fap_icon="../../../assets/icons/Archive/music_10px.png",
fap_category="Music",
)
+20
View File
@@ -10,5 +10,25 @@ extern "C" int32_t sam_app(void* p) {
voice.say(
"All your base are belong to us. You have no chance to survive make your time. ha. ha. ha. GOOD BYE. ");
return 0;
}
extern "C" int32_t sam_app_yes(void* p) {
UNUSED(p);
voice.begin();
voice.say(
"Yes");
return 0;
}
extern "C" int32_t sam_app_no(void* p) {
UNUSED(p);
voice.begin();
voice.say(
"No");
return 0;
}