Kaynağa Gözat

Merge flashlight from https://github.com/xMasterX/all-the-plugins

Willy-JL 2 yıl önce
ebeveyn
işleme
4dfbe7fa23
3 değiştirilmiş dosya ile 6 ekleme ve 2 silme
  1. 5 1
      flashlight/application.fam
  2. 1 1
      flashlight/flashlight.c
  3. BIN
      flashlight/img/1.png

+ 5 - 1
flashlight/application.fam

@@ -11,4 +11,8 @@ App(
     order=20,
     fap_icon="flash10px.png",
     fap_category="GPIO",
-)
+    fap_author="@xMasterX",
+    fap_weburl="https://github.com/xMasterX/flipper-flashlight",
+    fap_version="1.1",
+    fap_description="Enables 3.3v on pin 7/C3 when you press Ok and leaves it on when you exit app",
+)

+ 1 - 1
flashlight/flashlight.c

@@ -115,8 +115,8 @@ int32_t flashlight_app() {
             }
         }
 
-        view_port_update(view_port);
         furi_mutex_release(plugin_state->mutex);
+        view_port_update(view_port);
     }
 
     view_port_enabled_set(view_port, false);

BIN
flashlight/img/1.png