From 03dce530de96ac654df7fd0502af0c92948d3fb5 Mon Sep 17 00:00:00 2001 From: neonman63 <5744486+neonman63@users.noreply.github.com> Date: Fri, 11 Oct 2024 15:55:53 +0300 Subject: [PATCH] fix main --- src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index da86933..f43ea40 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -85,8 +85,8 @@ static void hal_init(lv_color_t primary, lv_color_t secondary) { spdlog::debug("resolution {} x {}", width, height); lv_disp_t * disp = lv_disp_drv_register(&disp_drv); lv_theme_t * th = height <= 480 - ? lv_theme_default_init(NULL, primary, secondary, true, &lv_font_notosans_12) - : lv_theme_default_init(NULL, primary, secondary, true, &lv_font_notosans_20); + ? lv_theme_default_init(NULL, primary, secondary, true, ¬osans_12) + : lv_theme_default_init(NULL, primary, secondary, true, ¬osans_20); lv_disp_set_theme(disp, th); evdev_init(); @@ -142,8 +142,8 @@ static void hal_init(lv_color_t primary, lv_color_t secondary) lv_disp_t * disp = lv_disp_drv_register(&disp_drv); lv_theme_t * th = MONITOR_HOR_RES <= 480 - ? lv_theme_default_init(NULL, primary, secondary, true, &lv_font_notosans_12) - : lv_theme_default_init(NULL, primary, secondary, true, &lv_font_notosans_16); + ? lv_theme_default_init(NULL, primary, secondary, true, ¬osans_12) + : lv_theme_default_init(NULL, primary, secondary, true, ¬osans_16); lv_disp_set_theme(disp, th); lv_group_t * g = lv_group_create();