mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 02:39:57 +02:00
Makes MDNS optional by user setting
Makes WIFI AP optional by user setting Tweaks ifdefs for double battery and charger settings Updates platformio platform packages
This commit is contained in:
parent
ca07bb3b9d
commit
00e44ccf9a
6 changed files with 47 additions and 23 deletions
|
@ -23,7 +23,9 @@ extern std::string ssid;
|
|||
extern std::string password;
|
||||
extern const uint8_t wifi_channel;
|
||||
extern const char* ssidAP;
|
||||
#ifdef WIFI_AP
|
||||
extern const char* passwordAP;
|
||||
#endif
|
||||
|
||||
// Common charger parameters
|
||||
extern float charger_stat_HVcur;
|
||||
|
@ -54,6 +56,7 @@ void init_webserver();
|
|||
*/
|
||||
void wifi_monitor();
|
||||
|
||||
#ifdef WIFI_AP
|
||||
/**
|
||||
* @brief Initialization function that creates a WiFi Access Point.
|
||||
*
|
||||
|
@ -62,6 +65,7 @@ void wifi_monitor();
|
|||
* @return void
|
||||
*/
|
||||
void init_WiFi_AP();
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Initialization function that connects to an existing network.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue