made Faction-Names configurable

This commit is contained in:
2023-04-18 20:06:57 +02:00
parent c24829ed70
commit 0a1625e9b8
7 changed files with 74 additions and 15 deletions

View File

@@ -10,6 +10,7 @@
#include "common.h"
#include "debugger.h"
#define I2C_EE_ADDRESS 0x50
#define EEPROM_SIZE_BYTES I2C_DEVICESIZE_24LC64
#define EEPROM_ENDURANCE 1000000
@@ -51,9 +52,9 @@ typedef struct
uint8_t EEPROM_Version;
batteryType_t batteryType;
bool active_faction_on_reboot;
char Faction_1_Name[32];
char Faction_2_Name[32];
char Faction_3_Name[32];
char Faction_1_Name[33];
char Faction_2_Name[33];
char Faction_3_Name[33];
uint32_t checksum;
} configData_t;