From a4079969fb6959effe8f3a5690ecf7db95626835 Mon Sep 17 00:00:00 2001 From: Vincent Barrilliot Date: Tue, 14 Jun 2022 22:24:08 +0200 Subject: [PATCH] Remove some debug messages, fix typo in format string --- src/boot.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/boot.c b/src/boot.c index 2ce8279..3d49e98 100644 --- a/src/boot.c +++ b/src/boot.c @@ -257,7 +257,7 @@ short boot_screen() { make_key_name("RETURN", cr_text); #if MODEL == MODEL_FOENIX_A2560K - sprintf(buffer, "BOOT: %%s=SD CARD, %s=HARD DRIVE, s=FLOPPY, %s=DEFAULT, %s=SAFE", f1, f2, f3, space, cr_text); + sprintf(buffer, "BOOT: %s=SD CARD, %s=HARD DRIVE, s=FLOPPY, %s=DEFAULT, %s=SAFE", f1, f2, f3, space, cr_text); #else sprintf(buffer, "BOOT: %s=SD CARD, %s=HARD DRIVE, %s=DEFAULT, %s=SAFE", f1, f2, space, cr_text); #endif @@ -329,20 +329,13 @@ short boot_screen() { } /* Initialise all screens */ - log_num(LOG_DEBUG,"boot_screen: initialize Screen", screen); - txt_init_screen(screen); /* This is the one used for the boot message */ - /* No need to txt_set_resolution(screen, 0, 0) because during screen_init, the defaults are applied */ - #if MODEL == MODEL_FOENIX_A2560K txt_set_resolution(1, 0, 0); // Set the resolution based on the DIP switch #endif - DEBUG("boot_screen: Screen(s) initialized"); -{ - t_rect region; - txt_get_region(screen, ®ion); -} + + /* Display message saying what we're booting from */ print(screen, buffer); #if MODEL == MODEL_FOENIX_A2560K