2021-06-10 14:01:57 +02:00
|
|
|
#ifndef _DEFAULTS_H_
|
|
|
|
#define _DEFAULTS_H_
|
|
|
|
|
2021-06-13 23:15:53 +02:00
|
|
|
#ifndef WIFI_CLIENT
|
2022-04-14 22:48:11 +02:00
|
|
|
#define WIFI_ACCESSPOINT
|
2021-06-13 23:15:53 +02:00
|
|
|
#endif
|
|
|
|
|
2022-04-14 22:48:11 +02:00
|
|
|
#if defined(WIFI_CLIENT) && defined(WIFI_ACCESSPOINT)
|
2021-06-13 23:15:53 +02:00
|
|
|
#error "You can't define AP and CLIENT at the same Time!"
|
|
|
|
#endif
|
|
|
|
|
2021-06-10 14:01:57 +02:00
|
|
|
#ifndef WIFI_SSID
|
|
|
|
#define WIFI_SSID "3 Factions CTF Timer"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef WIFI_PASS
|
|
|
|
#define WIFI_PASS "CaptureTheFlag"
|
|
|
|
#endif
|
|
|
|
|
2021-06-13 23:18:14 +02:00
|
|
|
#ifndef OTA_PASS
|
|
|
|
#define OTA_PASS "UploadTheFlag"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef OTA_HOST
|
|
|
|
#define OTA_HOST "ESP_OTA"
|
|
|
|
#endif
|
2021-06-13 23:13:57 +02:00
|
|
|
|
2021-06-13 23:17:11 +02:00
|
|
|
#ifndef DEVICE_NAME
|
|
|
|
#define DEVICE_NAME WIFI_SSID
|
|
|
|
#endif
|
|
|
|
|
2021-06-13 23:13:57 +02:00
|
|
|
#ifndef BAT_LOW_PERCENT
|
|
|
|
#define BAT_LOW_PERCENT 10
|
|
|
|
#endif
|
|
|
|
|
2021-06-10 14:01:57 +02:00
|
|
|
#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
|