Reintroduce LVGL-related changes (#65)

This commit is contained in:
Ken Van Hoeylandt
2024-10-28 23:23:13 +01:00
committed by GitHub
parent 62d30e8b7b
commit 5412f929c5
13 changed files with 34 additions and 36 deletions
+1 -5
View File
@@ -46,11 +46,7 @@ bool tt_sdcard_mount(const SdCard* sdcard) {
.sdcard = sdcard
};
sdcard_unlock();
if (data.context != NULL) {
return true;
} else {
return false;
}
return (data.context != NULL);
} else {
TT_LOG_E(TAG, "Failed to lock");
return false;