1
0
forked from me/IronOS

Unify settings for each model into once place

This commit is contained in:
Ben V. Brown
2021-09-15 20:24:41 +10:00
parent ebde786ca1
commit 2bfb8a6535
29 changed files with 377 additions and 212 deletions

View File

@@ -15,6 +15,12 @@
#include <string.h> // for memset
bool sanitiseSettings();
#ifdef POW_QC_20V
#define QC_SETTINGS_MAX 3
#else
#define QC_SETTINGS_MAX 2
#endif
/*
* This struct must be a multiple of 2 bytes as it is saved / restored from
* flash in uint16_t chunks