Преглед изворни кода

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

Willy-JL пре 2 година
родитељ
комит
fbf1222945
4 измењених фајлова са 8 додато и 8 уклоњено
  1. 4 6
      swd_probe/application.fam
  2. BIN
      swd_probe/img/1.png
  3. 2 0
      swd_probe/swd_probe_app.c
  4. 2 2
      swd_probe/swd_probe_app.h

+ 4 - 6
swd_probe/application.fam

@@ -1,17 +1,15 @@
 App(
-    fap_author="g3gg0",
-    fap_weburl="https://github.com/g3gg0/flipper-swd_probe",
-    fap_version=(1, 0),
-    fap_description="ARM SWD (Single Wire Debug) Probe",
     appid="swd_probe",
     name="[SWD] SWD Probe",
     apptype=FlipperAppType.EXTERNAL,
     entry_point="swd_probe_app_main",
-    cdefines=["APP_SWD_PROBE"],
     requires=["notification", "gui", "storage", "dialogs", "cli"],
     stack_size=2 * 1024,
     order=10,
     fap_icon="icons/app.png",
     fap_category="GPIO",
-    fap_icon_assets="icons"
+    fap_icon_assets="icons",
+    fap_author="@g3gg0 & (fixes by @xMasterX)",
+    fap_version="1.1",
+    fap_description="ARM SWD (Single Wire Debug) Probe",
 )

BIN
swd_probe/img/1.png


+ 2 - 0
swd_probe/swd_probe_app.c

@@ -3139,6 +3139,8 @@ int32_t swd_probe_app_main(void* p) {
     DBGS("swd_execute_script");
     swd_execute_script(app, SWD_PATH "/startup.swd");
 
+    dolphin_deed(DolphinDeedPluginGameStart);
+
     DBGS("processing");
     for(bool processing = true; processing;) {
         swd_main_loop(app);

+ 2 - 2
swd_probe/swd_probe_app.h

@@ -1,5 +1,5 @@
-#ifndef __ARHA_FLIPPERAPP_DEMO
-#define __ARHA_FLIPPERAPP_DEMO
+#ifndef __SWD_PROBE_APP_H
+#define __SWD_PROBE_APP_H
 
 #include <stdint.h>
 #include <stdbool.h>