lock flash based on state setting

This commit is contained in:
Conor Patrick
2019-10-27 08:58:12 -04:00
parent 666cd6a0ba
commit 89e218e561
4 changed files with 21 additions and 14 deletions

View File

@ -9,6 +9,8 @@
#include <stdint.h>
#include "version.h"
#define SOLO
#define DEBUG_UART USART1
#ifndef DEBUG_LEVEL
@ -46,6 +48,9 @@
void printing_init();
void hw_init(int lf);
// Return 1 if Solo is secure/locked.
int solo_is_locked();
//#define TEST
//#define TEST_POWER