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

Method requestViewUpdate

Tactility/Source/app/btmanage/BtManage.cpp:79–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79void BtManage::requestViewUpdate() {
80 lock();
81 if (isViewEnabled) {
82 if (lvgl::lock(1000)) {
83 view.update();
84 lvgl::unlock();
85 } else {
86 LOGGER.error(LOG_MESSAGE_MUTEX_LOCK_FAILED_FMT, "LVGL");
87 }
88 }
89 unlock();
90}
91
92void BtManage::onBtEvent(const struct BtEvent& event) {
93 auto radio_state = bluetooth::getRadioState();

Callers

nothing calls this directly

Calls 4

errorMethod · 0.80
lockFunction · 0.50
unlockFunction · 0.50
updateMethod · 0.45

Tested by

no test coverage detected