diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-03-26 03:49:12 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-03-26 03:49:12 (GMT) |
| commit | 6ef420d2407a4685b56a233f6b0f849e90c6cf49 (patch) | |
| tree | 917f4304cace71ca0d7e472546a1538d8ac991a4 /src/main.cpp | |
| parent | 8b7bbf4b84a008e42a0ebba8af316690af696d5b (diff) | |
sans heart
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/main.cpp b/src/main.cpp index 252ed6b..062e64c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -36,7 +36,6 @@ #include "components/brightness/BrightnessController.h" #include "components/motor/MotorController.h" #include "components/datetime/DateTimeController.h" -#include "components/heartrate/HeartRateController.h" #include "drivers/Spi.h" #include "drivers/SpiMaster.h" #include "drivers/SpiNorFlash.h" @@ -59,7 +58,6 @@ Pinetime::Logging::DummyLogger logger; static constexpr uint8_t touchPanelTwiAddress = 0x15; static constexpr uint8_t motionSensorTwiAddress = 0x18; -static constexpr uint8_t heartRateSensorTwiAddress = 0x44; Pinetime::Drivers::SpiMaster spi {Pinetime::Drivers::SpiMaster::SpiModule::SPI0, {Pinetime::Drivers::SpiMaster::BitOrder::Msb_Lsb, @@ -91,16 +89,12 @@ Pinetime::Drivers::Cst816S touchPanel {twiMaster, touchPanelTwiAddress}; Pinetime::Components::LittleVgl lvgl {lcd, touchPanel}; Pinetime::Drivers::Bma421 motionSensor {twiMaster, motionSensorTwiAddress}; -Pinetime::Drivers::Hrs3300 heartRateSensor {twiMaster, heartRateSensorTwiAddress}; TimerHandle_t debounceTimer; TimerHandle_t debounceChargeTimer; Pinetime::Controllers::Battery batteryController; Pinetime::Controllers::Ble bleController; -Pinetime::Controllers::HeartRateController heartRateController; -Pinetime::Applications::HeartRateTask heartRateApp(heartRateSensor, heartRateController); - Pinetime::Controllers::Settings settingsController {}; Pinetime::Controllers::MotorController motorController {}; @@ -122,7 +116,6 @@ Pinetime::Applications::DisplayApp displayApp(lcd, dateTimeController, watchdogView, notificationManager, - heartRateController, settingsController, motorController, motionController, @@ -143,13 +136,10 @@ Pinetime::System::SystemTask systemTask(spi, watchdog, notificationManager, motorController, - heartRateSensor, motionController, motionSensor, settingsController, - heartRateController, displayApp, - heartRateApp, touchHandler, buttonHandler); |
