Restructured Repo before adding Hardware-Files

This commit is contained in:
2022-11-19 02:16:46 +01:00
parent 030f010832
commit 0e352881d3
73 changed files with 8 additions and 6362 deletions

48
Software/src/defaults.h Normal file
View File

@@ -0,0 +1,48 @@
#ifndef _DEFAULTS_H_
#define _DEFAULTS_H_
#ifndef WIFI_CLIENT
#define WIFI_ACCESSPOINT
#endif
#if defined(WIFI_CLIENT) && defined(WIFI_ACCESSPOINT)
#error "You can't define AP and CLIENT at the same Time!"
#endif
#ifndef WIFI_SSID
#define WIFI_SSID "3 Factions CTF Timer"
#endif
#ifndef WIFI_PASS
#define WIFI_PASS "CaptureTheFlag"
#endif
#ifndef OTA_PASS
#define OTA_PASS "UploadTheFlag"
#endif
#ifndef OTA_HOST
#define OTA_HOST "ESP_OTA"
#endif
#ifndef DEVICE_NAME
#define DEVICE_NAME WIFI_SSID
#endif
#ifndef BAT_LOW_PERCENT
#define BAT_LOW_PERCENT 10
#endif
#ifndef FACTION_1_NAME
#define FACTION_1_NAME "Team A"
#endif
#ifndef FACTION_2_NAME
#define FACTION_2_NAME "Team B"
#endif
#ifndef FACTION_3_NAME
#define FACTION_3_NAME "Team C"
#endif
#endif