Willy-JL 1 rok temu
rodzic
commit
843ad7dc60

+ 3 - 3
malveke_gb_cartridge/application.fam

@@ -14,7 +14,7 @@ App(
     fap_icon="icons/icon.png",
     fap_icon_assets="icons",
     fap_category="GPIO/MALVEKE",
-    fap_version=[2,2],
+    fap_version=[2, 2],
     fap_author="Esteban Fuentealba",
-    fap_weburl="https://github.com/EstebanFuentealba/MALVEKE-Flipper-Zero"
-)
+    fap_weburl="https://github.com/EstebanFuentealba/MALVEKE-Flipper-Zero",
+)

+ 7 - 7
malveke_gb_emulator/application.fam

@@ -5,14 +5,14 @@ App(
     entry_point="malveke_gb_emulator_app",
     cdefines=["APP_EMULATOR"],
     requires=["gui"],
-    stack_size=1*1024,
+    stack_size=1 * 1024,
     order=1,
     fap_libs=[],
-	fap_icon="icons/icon.png",
+    fap_icon="icons/icon.png",
     fap_icon_assets="icons",
     fap_category="GPIO/MALVEKE",
-    fap_version=[2,1],
-	fap_description="GAME BOY Emulator (POC).",
-	fap_author="Esteban Fuentealba",
-	fap_weburl="https://github.com/EstebanFuentealba/MALVEKE-Flipper-Zero/"
-)
+    fap_version=[2, 1],
+    fap_description="GAME BOY Emulator (POC).",
+    fap_author="Esteban Fuentealba",
+    fap_weburl="https://github.com/EstebanFuentealba/MALVEKE-Flipper-Zero/",
+)

+ 4 - 4
malveke_gb_link_camera/application.fam

@@ -10,12 +10,12 @@ App(
     ],
     stack_size=1 * 1024,
     order=10,
-    fap_version=[2,1],
+    fap_version=[2, 1],
     fap_libs=[],
     fap_icon="icons/boilerplate_10px.png",
     fap_icon_assets="icons",
     fap_category="GPIO/MALVEKE",
     fap_description="extract your GAME BOY Camera picture via WIFI, so they can be easily shared with your phone, tablet or pc. Easy to use, just hook up to your GAME BOY and print as usual, the device will store the images and share them on a web server via WIFI. You will need a printer cable or gameboy Color link cable.",
-	fap_author="Esteban Fuentealba",
-	fap_weburl="https://github.com/EstebanFuentealba/MALVEKE-Flipper-Zero/"
-)
+    fap_author="Esteban Fuentealba",
+    fap_weburl="https://github.com/EstebanFuentealba/MALVEKE-Flipper-Zero/",
+)

+ 7 - 7
malveke_gb_live_camera/application.fam

@@ -5,14 +5,14 @@ App(
     entry_point="gb_live_camera_app",
     cdefines=["APP_CAMERA"],
     requires=["gui"],
-    stack_size=8*1024,
+    stack_size=8 * 1024,
     order=1,
-    fap_version=[2,1],
+    fap_version=[2, 1],
     fap_libs=[],
-	fap_icon="icons/icon.png",
+    fap_icon="icons/icon.png",
     fap_icon_assets="icons",
     fap_category="GPIO/MALVEKE",
-	fap_description="Insert a GAME BOY Camera cartridge, you can use it as a camera and take snapshots from the Flipper Zero.",
-	fap_author="Esteban Fuentealba",
-	fap_weburl="https://github.com/EstebanFuentealba/MALVEKE-Flipper-Zero/"
-)
+    fap_description="Insert a GAME BOY Camera cartridge, you can use it as a camera and take snapshots from the Flipper Zero.",
+    fap_author="Esteban Fuentealba",
+    fap_weburl="https://github.com/EstebanFuentealba/MALVEKE-Flipper-Zero/",
+)

+ 4 - 4
malveke_gb_photo/application.fam

@@ -10,12 +10,12 @@ App(
     ],
     stack_size=2 * 1024,
     order=10,
-    fap_version=[2,3],
+    fap_version=[2, 3],
     fap_libs=[],
     fap_icon="icons/icon_10px.png",
     fap_icon_assets="icons",
     fap_category="GPIO/MALVEKE",
     fap_description="Game Boy Camera save RAM photo to BMP from the Flipper Zero.",
-	fap_author="Esteban Fuentealba",
-	fap_weburl="https://github.com/EstebanFuentealba/MALVEKE-Flipper-Zero/"
-)
+    fap_author="Esteban Fuentealba",
+    fap_weburl="https://github.com/EstebanFuentealba/MALVEKE-Flipper-Zero/",
+)

+ 3 - 3
malveke_gba_cartridge/application.fam

@@ -14,7 +14,7 @@ App(
     fap_icon="icons/icon.png",
     fap_icon_assets="icons",
     fap_category="GPIO/MALVEKE",
-    fap_version=[2,2],
+    fap_version=[2, 2],
     fap_author="Esteban Fuentealba",
-    fap_weburl="https://github.com/EstebanFuentealba/MALVEKE-Flipper-Zero"
-)
+    fap_weburl="https://github.com/EstebanFuentealba/MALVEKE-Flipper-Zero",
+)

+ 7 - 7
malveke_pin_test/application.fam

@@ -4,14 +4,14 @@ App(
     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_version=[2, 1],
     fap_libs=[],
-	fap_icon="icons/icon.png",
+    fap_icon="icons/icon.png",
     fap_icon_assets="icons",
     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/"
-)
+    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/",
+)

+ 1 - 1
pokemon_trading/application.fam

@@ -5,7 +5,7 @@ App(
     entry_point="pokemon_app",
     requires=["gui"],
     stack_size=2 * 1024,
-    fap_version=[1,6],
+    fap_version=[1, 6],
     fap_category="GPIO",
     fap_icon="pokemon_10px.png",
     fap_icon_assets="assets",

+ 1 - 1
pokemon_trading/pokemon_app.c

@@ -1932,7 +1932,7 @@ void pokemon_trade_block_set_default_name(char* dest, PokemonFap* pokemon_fap, s
 
 #define UINT32_TO_EXP(input, output_array)                     \
     do {                                                       \
-        (output_array)[2] = (uint8_t)((input)&0xFF);           \
+        (output_array)[2] = (uint8_t)((input) & 0xFF);         \
         (output_array)[1] = (uint8_t)(((input) >> 8) & 0xFF);  \
         (output_array)[0] = (uint8_t)(((input) >> 16) & 0xFF); \
     } while(0)