Skip to content

Commit bd19d89

Browse files
Web server is now static.
1 parent 159d05e commit bd19d89

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

esp32-ps4-jailbreak.ino

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ const IPAddress AP_IP( 192, 168, 4, 1 );
99

1010
const uint8_t ONBOARD_LED = 2;
1111

12-
AsyncWebServer server( 80 );
13-
1412
void setup()
1513
{
1614
Serial.begin( 115200 );
@@ -22,6 +20,7 @@ void setup()
2220
WiFi.softAP( AP_SSID );
2321
WiFi.onEvent( WiFiEvent );
2422

23+
static AsyncWebServer server( 80 );
2524
static const char * HTML_HEADER = "text/html";
2625

2726
//setup webserver

0 commit comments

Comments
 (0)