fix solo locked flag for bootloader

This commit is contained in:
Conor Patrick 2019-10-27 10:17:13 -04:00
parent bb08f6e0d3
commit 0873fa5f34
4 changed files with 7 additions and 3 deletions

View File

@ -64,4 +64,9 @@ int is_authorized_to_boot();
int is_bootloader_disabled();
void bootloader_heartbeat();
// Return 1 if Solo is secure/locked.
int solo_is_locked();
#endif

View File

@ -83,6 +83,4 @@ int solo_is_locked();
#define SKIP_BUTTON_CHECK_WITH_DELAY 0
#define SKIP_BUTTON_CHECK_FAST 0
#define SOLO_FLAG_LOCKED 0x2
#endif

View File

@ -34,6 +34,8 @@
#define LOW_FREQUENCY 1
#define HIGH_FREQUENCY 0
#define SOLO_FLAG_LOCKED 0x2
void wait_for_usb_tether(void);

View File

@ -13,7 +13,6 @@
#include "flash.h"
#include "log.h"
#include "device.h"
#include "app.h"
static void flash_lock(void)
{