mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 02:39:57 +02:00
Restored functinality to disable WIFI AP mode with at runtime with a setting.
Restored ifdefs for double battery and charger.
This commit is contained in:
parent
ce93284b51
commit
573658e573
4 changed files with 14 additions and 20 deletions
|
@ -23,9 +23,7 @@ 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;
|
||||
|
@ -56,7 +54,7 @@ void init_webserver();
|
|||
*/
|
||||
void wifi_monitor();
|
||||
|
||||
#ifdef WIFI_AP
|
||||
#ifdef WIFIAP
|
||||
/**
|
||||
* @brief Initialization function that creates a WiFi Access Point.
|
||||
*
|
||||
|
@ -65,7 +63,7 @@ void wifi_monitor();
|
|||
* @return void
|
||||
*/
|
||||
void init_WiFi_AP();
|
||||
#endif
|
||||
#endif // WIFIAP
|
||||
|
||||
/**
|
||||
* @brief Initialization function that connects to an existing network.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue