From add333b9205ac337e4f5ef3362c5cbde9bfa761d Mon Sep 17 00:00:00 2001 From: devdl11 Date: Sat, 9 Apr 2022 11:08:02 +0200 Subject: [PATCH] [bootloade] Fix freezing --- bootloader/interface/menus/home/home.cpp | 2 +- bootloader/utility.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bootloader/interface/menus/home/home.cpp b/bootloader/interface/menus/home/home.cpp index ef367c8eb..2529547e5 100644 --- a/bootloader/interface/menus/home/home.cpp +++ b/bootloader/interface/menus/home/home.cpp @@ -33,7 +33,7 @@ bool slotB_submenu() { } bool installer_submenu() { - + return false; } bool about_submenu() { diff --git a/bootloader/utility.h b/bootloader/utility.h index bc8c03ca1..12c6ce329 100644 --- a/bootloader/utility.h +++ b/bootloader/utility.h @@ -2,10 +2,11 @@ #define _BOOTLOADER_ITOA_H_ namespace Bootloader { - namespace Utility { + class Utility { + public: static char * itoa(int value, char * result, int base); static int versionSum(const char * version, int length); - } + }; } #endif