src/vyom/lvgl.c
/// Init the LVGL library. Called by sysinit() during startup, defined in pkg.yml.
Init the LVGL library. Called by sysinit() during startup, defined in pkg.yml.
Init the LVGL library . Called by sysinit () during startup defined in pkg . yml .
void pinetime_lvgl_mynewt_init(void) {    
    assert(pinetime_lvgl_mynewt_started == false);
    int rc = pinetime_lvgl_mynewt_init_display(); assert(rc == 0);
    lv_init();
    lv_port_disp_init();
    lv_port_indev_init();
    indev_encoder = lv_port_get_indev();
    group = lv_group_create();
    lv_indev_set_group(indev_encoder, group);
    pinetime_lvgl_mynewt_started = true;
}
void pinetime_lvgl_mynewt_init ( void ) { assert ( pinetime_lvgl_mynewt_started == false ) ; int rc = pinetime_lvgl_mynewt_init_display ( ) ; assert ( rc == 0 ) ; lv_init ( ) ; lv_port_disp_init ( ) ; lv_port_indev_init ( ) ; indev_encoder = lv_port_get_indev ( ) ; group = lv_group_create ( ) ; lv_indev_set_group ( indev_encoder , group ) ; pinetime_lvgl_mynewt_started = true ; }
Init the LVGL library.
Init the LVGL library .
// console_printf("Init LVGL...\n"); console_flush(); //  Init the display controller //  Init the LVGL display