From 23fa18eaa71266feff7ba8d83022d9e1cc83c65a Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 10 May 2024 07:42:03 +0000 Subject: [PATCH] disable pwm7 --- kernel/lib/fonts/fonts.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/lib/fonts/fonts.c b/kernel/lib/fonts/fonts.c index 5f4b07b..9738664 100644 --- a/kernel/lib/fonts/fonts.c +++ b/kernel/lib/fonts/fonts.c @@ -135,8 +135,8 @@ if (res > 20) c += 20 - res; - if ((font_w & (1 << (f->width - 1))) && - (font_h & (1 << (f->height - 1)))) + if ((font_w & (1U << (f->width - 1))) && + (font_h & (1U << (f->height - 1)))) c += 1000; if (c > cc) { -- Gitblit v1.6.2