MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / onTimer

Method onTimer

Tactility/Source/app/power/Power.cpp:48–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 lv_obj_t* currentLabel = nullptr;
47
48 static void onTimer() {
49 auto app = optApp();
50 if (app != nullptr) {
51 app->updateUi();
52 }
53 }
54
55 void onPowerEnabledChanged(lv_event_t* event) {
56 lv_event_code_t code = lv_event_get_code(event);

Callers

nothing calls this directly

Calls 2

optAppFunction · 0.70
updateUiMethod · 0.45

Tested by

no test coverage detected