From d7e2c996f2b5755ff4b9db897305f0502d2d50e6 Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Mon, 20 Sep 2021 19:44:39 +0200 Subject: [PATCH] Fix offset --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 5ffd4be..63e4914 100644 --- a/main.c +++ b/main.c @@ -262,7 +262,7 @@ int main(void) { /* Position display at the bottom of the screen */ uint32_t ver_res = ver_res_full / 3; uint32_t ver_off = 2 * ver_res; - fbdev_set_offset(0, 2 * ver_off); + fbdev_set_offset(0, ver_off); libinput_multi_init_display(ver_res_full, ver_off); /* Prepare display buffer */