From 0d931fe17b32cc5082f1180138dbb7bd6416dd14 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 17 Nov 2025 09:19:52 +0100 Subject: tools: feat: new syntax for function. Signed-off-by: Amlal El Mahrouss --- dev/boot/BootKit/Qr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dev/boot/BootKit') diff --git a/dev/boot/BootKit/Qr.h b/dev/boot/BootKit/Qr.h index 2dcfc5fe..f537aa5e 100644 --- a/dev/boot/BootKit/Qr.h +++ b/dev/boot/BootKit/Qr.h @@ -306,7 +306,7 @@ template bool Qr::draw(int whereX, int whereY) noexcept { if (!this->status) return false; // it may be invalid. - fb_init(); + cg_init(); for (int y = 0; y < (this->side_size()); ++y) { for (int x = 0; x < (this->side_size()); ++x) { @@ -315,7 +315,7 @@ bool Qr::draw(int whereX, int whereY) noexcept { } } - fb_clear(); + cg_clear(); return false; } -- cgit v1.2.3