InfiniTime.git

commit 0cd1d6f8cf17b6d8e923be26c911aef53af78ab4

Author: Jean-François Milants <jf@codingfield.com>

Fix recovery firmware : add FS in parameters of DisplayAppRecovery ctor.

 src/displayapp/DisplayAppRecovery.cpp | 4 +++-
 src/displayapp/DisplayAppRecovery.h | 4 +++-


diff --git a/src/displayapp/DisplayAppRecovery.cpp b/src/displayapp/DisplayAppRecovery.cpp
index ca15dbafe6b3fd7c24e3d6ec68036a1593650dba..6ec67ceae1def9cfeb6a3253f1bf5129eed2d998 100644
--- a/src/displayapp/DisplayAppRecovery.cpp
+++ b/src/displayapp/DisplayAppRecovery.cpp
@@ -2,6 +2,7 @@ #include "displayapp/DisplayAppRecovery.h"
 #include <FreeRTOS.h>
 #include <task.h>
 #include <libraries/log/nrf_log.h>
+#include <components/fs/FS.h>
 #include "components/rle/RleDecoder.h"
 #include "touchhandler/TouchHandler.h"
 #include "displayapp/icons/infinitime/infinitime-nb.c"
@@ -24,7 +25,8 @@                        Pinetime::Controllers::MotionController& motionController,
                        Pinetime::Controllers::TimerController& timerController,
                        Pinetime::Controllers::AlarmController& alarmController,
                        Pinetime::Controllers::BrightnessController& brightnessController,
-                       Pinetime::Controllers::TouchHandler& touchHandler)
+                       Pinetime::Controllers::TouchHandler& touchHandler,
+                       Pinetime::Controllers::FS& filesystem)
   : lcd {lcd}, bleController {bleController} {
 }
 




diff --git a/src/displayapp/DisplayAppRecovery.h b/src/displayapp/DisplayAppRecovery.h
index 0e8012217ea94aebccc8cd4eae2ae381ef285cad..7d4f0fd0c02ecc6587d5aaf51042741248f0fdf8 100644
--- a/src/displayapp/DisplayAppRecovery.h
+++ b/src/displayapp/DisplayAppRecovery.h
@@ -35,6 +35,7 @@     class MotorController;
     class TimerController;
     class AlarmController;
     class BrightnessController;
+    class FS;
   }
 
   namespace System {
@@ -59,7 +60,8 @@                  Pinetime::Controllers::MotionController& motionController,
                  Pinetime::Controllers::TimerController& timerController,
                  Pinetime::Controllers::AlarmController& alarmController,
                  Pinetime::Controllers::BrightnessController& brightnessController,
-                 Pinetime::Controllers::TouchHandler& touchHandler);
+                 Pinetime::Controllers::TouchHandler& touchHandler,
+                 Pinetime::Controllers::FS& filesystem);
       void Start();
       void Start(Pinetime::System::BootErrors) {
         Start();