From b512526cb1525a1d9675df63c4eff701320ec88c Mon Sep 17 00:00:00 2001 From: fvanroie Date: Sat, 7 Mar 2020 17:58:35 +0100 Subject: [PATCH] Fix FirstSetup bug --- src/hasp.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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: