@@ -117,7 +117,7 @@ void WatchFaceTerminal::Refresh() {
117
117
hour = hour - 12 ;
118
118
ampmChar[0 ] = ' P' ;
119
119
}
120
- lv_label_set_text_fmt (label_time, " [TIME] %02d:%02d:%02d %s# " , hour, minute, second, ampmChar);
120
+ lv_label_set_text_fmt (label_time, " [TIME] %02d:%02d:%02d %s" , hour, minute, second, ampmChar);
121
121
} else {
122
122
lv_label_set_text_fmt (label_time, " [TIME] %02d:%02d:%02d" , hour, minute, second);
123
123
}
@@ -127,7 +127,7 @@ void WatchFaceTerminal::Refresh() {
127
127
uint16_t year = dateTimeController.Year ();
128
128
Controllers::DateTime::Months month = dateTimeController.Month ();
129
129
uint8_t day = dateTimeController.Day ();
130
- lv_label_set_text_fmt (label_date, " [DATE] %04d-%02d-%02d# " , short (year), char (month), char (day));
130
+ lv_label_set_text_fmt (label_date, " [DATE] %04d-%02d-%02d" , short (year), char (month), char (day));
131
131
}
132
132
}
133
133
@@ -170,7 +170,7 @@ void WatchFaceTerminal::Refresh() {
170
170
171
171
stepCount = motionController.NbSteps ();
172
172
if (stepCount.IsUpdated ()) {
173
- lv_label_set_text_fmt (stepValue, " [STEP] %lu steps# " , stepCount.Get ());
173
+ lv_label_set_text_fmt (stepValue, " [STEP] %lu steps" , stepCount.Get ());
174
174
}
175
175
176
176
@@ -180,9 +180,9 @@ void WatchFaceTerminal::Refresh() {
180
180
if (heartbeatRunning.Get ()) {
181
181
182
182
lv_obj_set_style_local_text_color (heartbeatValue, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, Colors::deepOrange);
183
- lv_label_set_text_fmt (heartbeatValue, " [L_HR] %d bpm# " , heartbeat.Get ());
183
+ lv_label_set_text_fmt (heartbeatValue, " [L_HR] %d bpm" , heartbeat.Get ());
184
184
} else {
185
- lv_label_set_text_static (heartbeatValue, " [L_HR] ---# " );
185
+ lv_label_set_text_static (heartbeatValue, " [L_HR] ---" );
186
186
lv_obj_set_style_local_text_color (heartbeatValue, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, Colors::gray);
187
187
}
188
188
}
@@ -191,14 +191,14 @@ void WatchFaceTerminal::Refresh() {
191
191
bleRadioEnabled = bleController.IsRadioEnabled ();
192
192
if (bleState.IsUpdated () || bleRadioEnabled.IsUpdated ()) {
193
193
if (!bleRadioEnabled.Get ()) {
194
- lv_label_set_text_static (connectState, " [STAT] Disabled# " );
194
+ lv_label_set_text_static (connectState, " [STAT] Disabled" );
195
195
lv_obj_set_style_local_text_color (connectState, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, Colors::gray);
196
196
} else {
197
197
if (bleState.Get ()) {
198
- lv_label_set_text_static (connectState, " [STAT] Connected# " );
198
+ lv_label_set_text_static (connectState, " [STAT] Connected" );
199
199
lv_obj_set_style_local_text_color (connectState, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, Colors::blue);
200
200
} else {
201
- lv_label_set_text_static (connectState, " [STAT] Disconnected# " );
201
+ lv_label_set_text_static (connectState, " [STAT] Disconnected" );
202
202
lv_obj_set_style_local_text_color (connectState, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, Colors::gray);
203
203
}
204
204
}
0 commit comments