Cody Tolene 1 год назад
Родитель
Сommit
a86b0cd0a0
2 измененных файлов с 3 добавлено и 1 удалено
  1. 1 0
      application.fam
  2. 2 1
      views/camera_suite_view_camera.h

+ 1 - 0
application.fam

@@ -7,6 +7,7 @@ App(
     fap_category="GPIO",
     fap_description="A camera suite application for the Flipper Zero ESP32-CAM module.",
     fap_icon="icons/camera_suite.png",
+    fap_libs=["assets"],
     fap_version="1.6",
     fap_weburl="https://github.com/CodyTolene/Flipper-Zero-Cam",
     name="[ESP32] Camera Suite",

+ 2 - 1
views/camera_suite_view_camera.h

@@ -25,13 +25,14 @@
  * @see https://github.com/Flipper-XFW/Xtreme-Apps
 */
 #define UART_CH (xtreme_settings.uart_esp_channel)
-#elif momentum_settings
+#elif defined momentum_settings
 /**
  * Enable the following line for "Momentum Firmware" & "Momentum Apps".
  * 
  * @see https://github.com/Next-Flip/Momentum-Firmware
  * @see https://github.com/Next-Flip/Momentum-Apps
 */
+#include <momentum/momentum.h>
 #define UART_CH (momentum_settings.uart_esp_channel)
 #else
 #define UART_CH (FuriHalSerialIdUsart)