mirror of
https://github.com/SpacehuhnTech/esp8266_deauther.git
synced 2025-12-22 15:16:47 -08:00
Overwrite default SSID
This commit is contained in:
@@ -113,6 +113,9 @@ void setup() {
|
|||||||
setWifiChannel(settings.getChannel());
|
setWifiChannel(settings.getChannel());
|
||||||
|
|
||||||
// load Wifi settings: SSID, password,...
|
// load Wifi settings: SSID, password,...
|
||||||
|
#ifdef DEFAULT_SSID
|
||||||
|
if(settings.getSSID() == "pwned") settings.setSSID(DEFAULT_SSID);
|
||||||
|
#endif
|
||||||
loadWifiConfigDefaults();
|
loadWifiConfigDefaults();
|
||||||
|
|
||||||
// dis/enable serial command interface
|
// dis/enable serial command interface
|
||||||
@@ -160,4 +163,4 @@ void loop() {
|
|||||||
EEPROM.commit();
|
EEPROM.commit();
|
||||||
booted = true;
|
booted = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user