mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-06-15 20:01:54 -07:00
sam updates
This commit is contained in:
@@ -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",
|
||||
)
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user