diff options
| author | JF002 <JF002@users.noreply.github.com> | 2021-09-12 16:34:11 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-12 16:34:11 (GMT) |
| commit | 8728ac2f6ae234cd0bf8ec585444d4169aab54b9 (patch) | |
| tree | 65e5e31aca8e4029bd5c7788e4678c164e3120d9 /src/main.cpp | |
| parent | f0329298ac4171e1c117bbf4ae2394f2b9769348 (diff) | |
| parent | 2b30ff4fc6a1835bdc5a94f8754cfd366885c4c0 (diff) | |
Merge pull request #602 from Riksu9000/del_unused
Remove unused variables
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/main.cpp b/src/main.cpp index 79e2ad8..a169e36 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -87,16 +87,13 @@ static constexpr uint32_t MaxTwiFrequencyWithoutHardwareBug {0x06200000}; Pinetime::Drivers::TwiMaster twiMaster {NRF_TWIM1, MaxTwiFrequencyWithoutHardwareBug, pinTwiSda, pinTwiScl}; Pinetime::Drivers::Cst816S touchPanel {twiMaster, touchPanelTwiAddress}; #ifdef PINETIME_IS_RECOVERY -static constexpr bool isFactory = true; #include "displayapp/DummyLittleVgl.h" #include "displayapp/DisplayAppRecovery.h" -Pinetime::Components::LittleVgl lvgl {lcd, touchPanel}; #else -static constexpr bool isFactory = false; #include "displayapp/LittleVgl.h" #include "displayapp/DisplayApp.h" -Pinetime::Components::LittleVgl lvgl {lcd, touchPanel}; #endif +Pinetime::Components::LittleVgl lvgl {lcd, touchPanel}; Pinetime::Drivers::Bma421 motionSensor {twiMaster, motionSensorTwiAddress}; Pinetime::Drivers::Hrs3300 heartRateSensor {twiMaster, heartRateSensorTwiAddress}; @@ -105,8 +102,6 @@ TimerHandle_t debounceTimer; TimerHandle_t debounceChargeTimer; Pinetime::Controllers::Battery batteryController; Pinetime::Controllers::Ble bleController; -void ble_manager_set_ble_connection_callback(void (*connection)()); -void ble_manager_set_ble_disconnection_callback(void (*disconnection)()); static constexpr uint8_t pinTouchIrq = 28; static constexpr uint8_t pinPowerPresentIrq = 19; |
