From 820255428027473d03e21059c30059242fae33db Mon Sep 17 00:00:00 2001 From: Igor Janjatovic Date: Mon, 14 Jun 2021 10:06:21 +0200 Subject: [PATCH] quick bugfix for missing inits --- main/src/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/src/main.c b/main/src/main.c index 539c325..a907eb0 100644 --- a/main/src/main.c +++ b/main/src/main.c @@ -121,6 +121,7 @@ static void hal_init(void) { /* Add the keyboard as input device * Use the 'keyboard' driver which reads the PC's keyboard*/ + keyboard_init(); lv_indev_drv_init(&keyb_drv); keyb_drv.type = LV_INDEV_TYPE_KEYPAD; keyb_drv.read_cb = keyboard_read; @@ -128,6 +129,7 @@ static void hal_init(void) { /* Add the mouse wheel as input device (encoder type) * Use the 'mousewheel' driver which reads the PC's mouse wheel*/ + mousewheel_init(); lv_indev_drv_init(&enc_drv); enc_drv.type = LV_INDEV_TYPE_ENCODER; enc_drv.read_cb = mousewheel_read;