From 0ef0919c253786f0b021850dc033505fbd4c8e3e Mon Sep 17 00:00:00 2001 From: Lee Lup Yuen Date: Fri, 23 Dec 2022 13:05:30 +0800 Subject: [PATCH] Fix LCD Panel --- render.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/render.zig b/render.zig index 98167f4..3439c93 100644 --- a/render.zig +++ b/render.zig @@ -1178,7 +1178,7 @@ pub export fn hello_main( // Init LCD Panel (in C) // https://github.com/lupyuen/pinephone-nuttx/blob/main/test/test_a64_mipi_dsi.c - _ = pinephone_panel_init(); + _ = pinephone_lcd_panel_init(); // Start MIPI DSI HSC and HSD (in C) // https://github.com/apache/nuttx/blob/master/arch/arm64/src/a64/a64_mipi_dsi.c#L914-L993 @@ -1312,7 +1312,7 @@ extern fn a64_mipi_dphy_enable() c_int; extern fn a64_mipi_dsi_enable() c_int; extern fn a64_mipi_dsi_start() c_int; extern fn a64_tcon0_init(width: u16, height: u16) c_int; -extern fn pinephone_panel_init() c_int; +extern fn pinephone_lcd_panel_init() c_int; extern fn pinephone_pmic_init() c_int; extern fn pinephone_render_graphics() c_int; extern fn up_mdelay(milliseconds: c_uint) void;