Skip to content

Commit ba0e744

Browse files
authored
Merge pull request #135 from jblanked/dev
Picoware - v1.7.8 This is an update to the micropython version that patches reported issues in v1.7.7
2 parents 3c1287d + 91a4470 commit ba0e744

14 files changed

Lines changed: 37 additions & 12 deletions
512 Bytes
Binary file not shown.
512 Bytes
Binary file not shown.
512 Bytes
Binary file not shown.
512 Bytes
Binary file not shown.
512 Bytes
Binary file not shown.
512 Bytes
Binary file not shown.
512 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

src/MicroPython/PicoCalc/picoware_lvgl/picoware_lvgl.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,14 @@ mp_obj_t picoware_lvgl_init(void)
112112
{
113113
if (lvgl_initialized || LV_GLOBAL_DEFAULT()->inited)
114114
{
115-
LV_GLOBAL_DEFAULT()->inited = false;
116-
LV_GLOBAL_DEFAULT()->deinit_in_progress = false;
117115
lvgl_display = NULL;
118116
lvgl_initialized = false;
117+
mp_lv_deinit_gc();
119118
}
120119

120+
// Ensure a clean, zero-initialized lv_global_t before lv_init()
121+
mp_lv_init_gc();
122+
121123
// Initialize LVGL
122124
lv_init();
123125

src/MicroPython/picoware/applications/gameboy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ def start(view_manager) -> bool:
3030
d.swap()
3131

3232
inp = view_manager.input_manager
33+
inp.reset()
3334
while True:
3435
but = inp.button
3536
if but != -1:
3637
inp.reset()
3738
if but == 5: # back
3839
return False
39-
4040
break
4141

4242
view_manager.freq(True) # set to lower frequency

0 commit comments

Comments
 (0)