gfx: Switch Nyx gfx prints to landscape
This commit is contained in:
@@ -182,7 +182,7 @@ static void _save_fb_to_bmp()
|
||||
static void _disp_fb_flush(int32_t x1, int32_t y1, int32_t x2, int32_t y2, const lv_color_t *color_p)
|
||||
{
|
||||
// Draw to framebuffer.
|
||||
gfx_set_rect_land_pitch((u32 *)NYX_FB_ADDRESS, (u32 *)color_p, x1, y1, x2, y2); //pitch
|
||||
gfx_set_rect_land_pitch((u32 *)NYX_FB_ADDRESS, (u32 *)color_p, 720, x1, y1, x2, y2); //pitch
|
||||
|
||||
// Check if display init was done. If it's the first big draw, init.
|
||||
if (!disp_init_done && ((x2 - x1 + 1) > 600))
|
||||
|
||||
Reference in New Issue
Block a user