display v2: Refactor everything

This commit is contained in:
CTCaer
2020-04-30 13:45:28 +03:00
parent 1483a61f11
commit 3db55df0a6
8 changed files with 350 additions and 287 deletions

View File

@@ -94,7 +94,7 @@ static gui_status_bar_ctx status_bar;
static void _nyx_disp_init()
{
display_backlight_brightness(0, 1000);
display_init_framebuffer();
display_init_framebuffer_pitch();
display_backlight_brightness(h_cfg.backlight - 20, 1000);
}