Renamed getLvglSyncLock() to getSyncLock() (#221)

This commit is contained in:
Ken Van Hoeylandt
2025-02-14 00:06:52 +01:00
committed by GitHub
parent 6e77d5027f
commit ad2cad3bf1
14 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ void GpioApp::updatePinStates() {
}
void GpioApp::updatePinWidgets() {
auto scoped_lvgl_lock = lvgl::getLvglSyncLock()->scoped();
auto scoped_lvgl_lock = lvgl::getSyncLock()->scoped();
auto scoped_gpio_lock = mutex.asScopedLock();
if (scoped_gpio_lock.lock() && scoped_lvgl_lock->lock(100)) {
for (int j = 0; j < GPIO_NUM_MAX; ++j) {