Remove some debug messages, fix typo in format string

This commit is contained in:
Vincent Barrilliot 2022-06-14 22:24:08 +02:00
parent a53b21885d
commit a4079969fb

View file

@ -257,7 +257,7 @@ short boot_screen() {
make_key_name("RETURN", cr_text); make_key_name("RETURN", cr_text);
#if MODEL == MODEL_FOENIX_A2560K #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 #else
sprintf(buffer, "BOOT: %s=SD CARD, %s=HARD DRIVE, %s=DEFAULT, %s=SAFE", f1, f2, space, cr_text); sprintf(buffer, "BOOT: %s=SD CARD, %s=HARD DRIVE, %s=DEFAULT, %s=SAFE", f1, f2, space, cr_text);
#endif #endif
@ -329,20 +329,13 @@ short boot_screen() {
} }
/* Initialise all screens */ /* 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 */ 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 */ /* No need to txt_set_resolution(screen, 0, 0) because during screen_init, the defaults are applied */
#if MODEL == MODEL_FOENIX_A2560K #if MODEL == MODEL_FOENIX_A2560K
txt_set_resolution(1, 0, 0); // Set the resolution based on the DIP switch txt_set_resolution(1, 0, 0); // Set the resolution based on the DIP switch
#endif #endif
DEBUG("boot_screen: Screen(s) initialized");
{ /* Display message saying what we're booting from */
t_rect region;
txt_get_region(screen, &region);
}
print(screen, buffer); print(screen, buffer);
#if MODEL == MODEL_FOENIX_A2560K #if MODEL == MODEL_FOENIX_A2560K