typo fix
This commit is contained in:
parent
79273fe24f
commit
4c5847669f
@ -100,7 +100,8 @@ WatchFaceTerminal::~WatchFaceTerminal() {
|
||||
lv_obj_clean(lv_scr_act());
|
||||
}
|
||||
|
||||
bool WatchFaceTerminal::Refresh() {
|
||||
/*bool WatchFaceTerminal::Refresh() {*/
|
||||
void WatchFaceTerminal::Refresh() {
|
||||
batteryPercentRemaining = batteryController.PercentRemaining();
|
||||
if (batteryPercentRemaining.IsUpdated()) {
|
||||
auto batteryPercent = batteryPercentRemaining.Get();
|
||||
@ -248,5 +249,5 @@ bool WatchFaceTerminal::Refresh() {
|
||||
sprintf(stepString, "[STEP]#ee3377 %lu steps#", stepCount.Get());
|
||||
lv_label_set_text(stepValue, stepString);
|
||||
}
|
||||
return running;
|
||||
/*return running;*/
|
||||
}
|
||||
|
@ -33,7 +33,8 @@ namespace Pinetime {
|
||||
Controllers::MotionController& motionController);
|
||||
~WatchFaceTerminal() override;
|
||||
|
||||
bool Refresh() override;
|
||||
/*bool Refresh() override;*/
|
||||
void Refresh() override;
|
||||
|
||||
void OnObjectEvent(lv_obj_t *pObj, lv_event_t i);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user