diff --git a/src/hasp.cpp b/src/hasp.cpp index 9344a586..a21d9dfd 100644 --- a/src/hasp.cpp +++ b/src/hasp.cpp @@ -908,8 +908,8 @@ void haspFirstSetup(void) lv_kb_set_style(kb, LV_KB_STYLE_BTN_REL, &rel_style); lv_kb_set_style(kb, LV_KB_STYLE_BTN_PR, &pr_style); - lv_kb_set_ta(kb, oneline_ta); /* Focus it on one of the text areas to start */ - lv_kb_set_cursor_manage(oneline_ta, true); /* Automatically show/hide cursors on text areas */ + lv_kb_set_ta(kb, oneline_ta); /* Focus it on one of the text areas to start */ + lv_kb_set_cursor_manage(kb, true); /* Automatically show/hide cursors on text areas */ } /** @@ -1150,6 +1150,7 @@ void hasp_background(uint16_t pageid, uint16_t imageid) + switch (imageid) { case 0: