1
0
forked from me/IronOS

Return if settings were reset

This commit is contained in:
Ben V. Brown
2019-12-28 12:00:18 +11:00
parent e6a562f8f4
commit 2032e8a2f3
2 changed files with 69 additions and 72 deletions

View File

@@ -11,7 +11,7 @@
#define SETTINGS_H_
#include <stdint.h>
#include "stm32f1xx_hal.h"
#define SETTINGSVERSION ( 0x1A )
#define SETTINGSVERSION ( 0x1B )
/*Change this if you change the struct below to prevent people getting \
out of sync*/
@@ -53,7 +53,7 @@ typedef struct {
extern volatile systemSettingsType systemSettings;
void saveSettings();
void restoreSettings();
bool restoreSettings();
uint8_t lookupVoltageLevel(uint8_t level);
void resetSettings();
bool showBootLogoIfavailable();