diff --git a/kernel/syscall/term.c b/kernel/syscall/term.c index 047941d..af9131e 100644 --- a/kernel/syscall/term.c +++ b/kernel/syscall/term.c @@ -26,7 +26,7 @@ int32_t SYSCALL2(sys_term_getsizes, w1, h1) { return E_INVALIDARGUMENT; } - *w = (uint16_t)(BOOT_INFO.fb->width / 16); + *w = (uint16_t)(BOOT_INFO.fb->width / 8); *h = (uint16_t)(BOOT_INFO.fb->height / 16); return E_OK;