@@ -87,16 +87,13 @@ static constexpr uint32_t MaxTwiFrequencyWithoutHardwareBug {0x06200000};
8787Pinetime::Drivers::TwiMaster twiMaster {NRF_TWIM1, MaxTwiFrequencyWithoutHardwareBug, pinTwiSda, pinTwiScl};
8888Pinetime::Drivers::Cst816S touchPanel {twiMaster, touchPanelTwiAddress};
8989#ifdef PINETIME_IS_RECOVERY
90- static constexpr bool isFactory = true ;
9190 #include " displayapp/DummyLittleVgl.h"
9291 #include " displayapp/DisplayAppRecovery.h"
93- Pinetime::Components::LittleVgl lvgl {lcd, touchPanel};
9492#else
95- static constexpr bool isFactory = false ;
9693 #include " displayapp/LittleVgl.h"
9794 #include " displayapp/DisplayApp.h"
98- Pinetime::Components::LittleVgl lvgl {lcd, touchPanel};
9995#endif
96+ Pinetime::Components::LittleVgl lvgl {lcd, touchPanel};
10097
10198Pinetime::Drivers::Bma421 motionSensor {twiMaster, motionSensorTwiAddress};
10299Pinetime::Drivers::Hrs3300 heartRateSensor {twiMaster, heartRateSensorTwiAddress};
@@ -105,8 +102,6 @@ TimerHandle_t debounceTimer;
105102TimerHandle_t debounceChargeTimer;
106103Pinetime::Controllers::Battery batteryController;
107104Pinetime::Controllers::Ble bleController;
108- void ble_manager_set_ble_connection_callback (void (*connection)());
109- void ble_manager_set_ble_disconnection_callback (void (*disconnection)());
110105static constexpr uint8_t pinTouchIrq = 28 ;
111106static constexpr uint8_t pinPowerPresentIrq = 19 ;
112107
0 commit comments