summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--firmware/microblaze/usrp2p/bootloader/init_bootloader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/microblaze/usrp2p/bootloader/init_bootloader.c b/firmware/microblaze/usrp2p/bootloader/init_bootloader.c
index 8b513002d..3571313ff 100644
--- a/firmware/microblaze/usrp2p/bootloader/init_bootloader.c
+++ b/firmware/microblaze/usrp2p/bootloader/init_bootloader.c
@@ -33,7 +33,7 @@ bool find_safe_booted_flag(void) {
unsigned char flag_byte;
i2c_read(SAFE_FLAG_LOCATION, &flag_byte, 1);
- return (flag_byte != 0x5E);
+ return (flag_byte == 0x5E);
}
void set_safe_booted_flag(bool flag) {