Esteban Fuentealba пре 1 година
родитељ
комит
a85b71591a
2 измењених фајлова са 12 додато и 13 уклоњено
  1. 10 10
      application.fam
  2. 2 3
      malveke_pin_test.c

+ 10 - 10
application.fam

@@ -1,17 +1,17 @@
 App(
     appid="malveke_pin_test",
-    name="GAME BOY PIN Test MALVEKE",
+    name="[GB] PIN Test MALVEKE",
     apptype=FlipperAppType.EXTERNAL,
     entry_point="malveke_pin_test_app",
     requires=["gui"],
-    stack_size=1*1024,
+    stack_size=1 * 1024,
     order=1,
-    fap_version=[2,1],
-    fap_libs=["assets"],
-	fap_icon="icons/icon.png",
+    fap_version=[2, 2],
+    fap_libs=[],
+    fap_icon="icons/icon.png",
     fap_icon_assets="icons",
-    fap_category="GPIO",
-	fap_description="ESP32 GAME BOY CAMERA live feed and photo capture, use left/right for exposition and center for saving a screenshot.",
-	fap_author="Esteban Fuentealba",
-	fap_weburl="https://github.com/EstebanFuentealba/MALVEKE-Flipper-Zero/"
-)
+    fap_category="GPIO/MALVEKE",
+    fap_description="ESP32 GAME BOY CAMERA live feed and photo capture, use left/right for exposition and center for saving a screenshot.",
+    fap_author="Esteban Fuentealba",
+    fap_weburl="https://github.com/EstebanFuentealba/MALVEKE-Flipper-Zero/",
+)

+ 2 - 3
malveke_pin_test.c

@@ -129,7 +129,7 @@ static UartEchoApp* gb_live_camera_app_alloc() {
 
     // View dispatcher
     app->view_dispatcher = view_dispatcher_alloc();
-    view_dispatcher_enable_queue(app->view_dispatcher);
+
     view_dispatcher_attach_to_gui(app->view_dispatcher, app->gui, ViewDispatcherTypeFullscreen);
 
     // Views
@@ -139,8 +139,7 @@ static UartEchoApp* gb_live_camera_app_alloc() {
     view_set_input_callback(app->view, gb_live_camera_view_input_callback);
     view_allocate_model(app->view, ViewModelTypeLocking, sizeof(UartDumpModel));
 
-    with_view_model(
-        app->view, UartDumpModel * model, { model->pin = 2; }, true);
+    with_view_model(app->view, UartDumpModel * model, { model->pin = 2; }, true);
 
     view_set_previous_callback(app->view, gb_live_camera_exit);
     view_dispatcher_add_view(app->view_dispatcher, 0, app->view);