diff options
author | Nick Foster <nick@nerdnetworks.org> | 2010-10-07 18:12:51 -0700 |
---|---|---|
committer | Nick Foster <nick@nerdnetworks.org> | 2010-10-07 18:12:51 -0700 |
commit | 4ed75835c8c1b7b633223cd7ad11269e84c41701 (patch) | |
tree | d7289ddbd6cdf0a87dafe7d6f3f8f72f9b7a4124 /firmware/microblaze/usrp2p/bootloader/init_bootloader.c | |
parent | c205cd329b37f24060ff20c23bc91249969502a1 (diff) | |
download | uhd-4ed75835c8c1b7b633223cd7ad11269e84c41701.tar.gz uhd-4ed75835c8c1b7b633223cd7ad11269e84c41701.tar.bz2 uhd-4ed75835c8c1b7b633223cd7ad11269e84c41701.zip |
U2P: Whoops.
Diffstat (limited to 'firmware/microblaze/usrp2p/bootloader/init_bootloader.c')
-rw-r--r-- | firmware/microblaze/usrp2p/bootloader/init_bootloader.c | 2 |
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) { |