Skip to content

Commit 7d96e90

Browse files
committed
Incorrect enum ordering
1 parent f263c7c commit 7d96e90

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

boot/nxboot/include/nxboot.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ enum progress_type_e
144144
enum progress_msg_e
145145
{
146146
startup_msg = 0,
147+
power_reset,
148+
soft_reset,
147149
found_bootable_image,
148150
no_bootable_image,
149151
boardioc_image_boot_fail,
@@ -157,8 +159,6 @@ enum progress_msg_e
157159
recovery_created,
158160
recovery_invalid,
159161
update_failed,
160-
power_reset,
161-
soft_reset,
162162
};
163163

164164
/****************************************************************************

boot/nxboot/nxboot_main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ void nxboot_progress(enum progress_type_e type, ...)
105105
{
106106
int idx = va_arg(args, int);
107107
const char *msg = g_progress_txt[idx];
108-
dprintf(STDOUT_FILENO, "ERROR!: %s\n", msg);
108+
dprintf(STDOUT_FILENO, "ERROR: %s\n", msg);
109109
}
110110
break;
111111
case nxboot_progress_start:

0 commit comments

Comments
 (0)