From 4ed75835c8c1b7b633223cd7ad11269e84c41701 Mon Sep 17 00:00:00 2001 From: Nick Foster Date: Thu, 7 Oct 2010 18:12:51 -0700 Subject: U2P: Whoops. --- firmware/microblaze/usrp2p/bootloader/init_bootloader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/microblaze/usrp2p/bootloader/init_bootloader.c') 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) { -- cgit v1.2.3