Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…uder into develop
  • Loading branch information
justcallmekoko committed Feb 14, 2024
2 parents f8cf90a + c7f1b5c commit 8b53b56
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions esp32_marauder/EvilPortal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,13 @@ bool EvilPortal::setAP(LinkedList<ssid>* ssids, LinkedList<AccessPoint>* access_
}

void EvilPortal::startAP() {
const IPAddress AP_IP(172, 0, 0, 1);

Serial.print("starting ap ");
Serial.println(apName);

WiFi.mode(WIFI_AP);
WiFi.softAPConfig(AP_IP, AP_IP, IPAddress(255, 255, 255, 0));
WiFi.softAP(apName);

#ifdef HAS_SCREEN
Expand Down

0 comments on commit 8b53b56

Please sign in to comment.