|
8 | 8 | #include "displayapp/screens/Screen.h"
|
9 | 9 | #include "components/datetime/DateTimeController.h"
|
10 | 10 | #include "components/ble/BleController.h"
|
| 11 | +#include "utility/DirtyValue.h" |
11 | 12 |
|
12 | 13 | namespace Pinetime {
|
13 | 14 | namespace Controllers {
|
@@ -47,16 +48,16 @@ namespace Pinetime {
|
47 | 48 | Controllers::DateTime::Days currentDayOfWeek = Pinetime::Controllers::DateTime::Days::Unknown;
|
48 | 49 | uint8_t currentDay = 0;
|
49 | 50 |
|
50 |
| - DirtyValue<uint8_t> batteryPercentRemaining {}; |
51 |
| - DirtyValue<bool> powerPresent {}; |
52 |
| - DirtyValue<bool> bleState {}; |
53 |
| - DirtyValue<bool> bleRadioEnabled {}; |
54 |
| - DirtyValue<std::chrono::time_point<std::chrono::system_clock, std::chrono::nanoseconds>> currentDateTime {}; |
55 |
| - DirtyValue<bool> motionSensorOk {}; |
56 |
| - DirtyValue<uint32_t> stepCount {}; |
57 |
| - DirtyValue<uint8_t> heartbeat {}; |
58 |
| - DirtyValue<bool> heartbeatRunning {}; |
59 |
| - DirtyValue<bool> notificationState {}; |
| 51 | + Utility::DirtyValue<uint8_t> batteryPercentRemaining {}; |
| 52 | + Utility::DirtyValue<bool> powerPresent {}; |
| 53 | + Utility::DirtyValue<bool> bleState {}; |
| 54 | + Utility::DirtyValue<bool> bleRadioEnabled {}; |
| 55 | + Utility::DirtyValue<std::chrono::time_point<std::chrono::system_clock, std::chrono::nanoseconds>> currentDateTime {}; |
| 56 | + Utility::DirtyValue<bool> motionSensorOk {}; |
| 57 | + Utility::DirtyValue<uint32_t> stepCount {}; |
| 58 | + Utility::DirtyValue<uint8_t> heartbeat {}; |
| 59 | + Utility::DirtyValue<bool> heartbeatRunning {}; |
| 60 | + Utility::DirtyValue<bool> notificationState {}; |
60 | 61 |
|
61 | 62 | lv_point_t line_icons_points[3] {{0, 5}, {117, 5}, {122, 0}};
|
62 | 63 | lv_point_t line_day_of_week_number_points[4] {{0, 0}, {100, 0}, {95, 95}, {0, 95}};
|
|
0 commit comments