1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-24 08:36:14 +01:00

Compare commits

..

1 Commits

Author SHA1 Message Date
Travis Farmer
236d39dc16
Merge 83a22dfae5 into d46a6f092a 2023-11-12 09:45:34 +00:00

View File

@ -81,7 +81,7 @@ bool WifiNINA::setup(const char *SSid,
uint8_t tries = 40; uint8_t tries = 40;
// Set up the pins! // Set up the pins!
#if !defined(GIGA_WIFI) #ifndef GIGA_WIFI
WiFi.setPins(SPIWIFI_SS, SPIWIFI_ACK, ESP32_RESETN, ESP32_GPIO0, &SPIWIFI); WiFi.setPins(SPIWIFI_SS, SPIWIFI_ACK, ESP32_RESETN, ESP32_GPIO0, &SPIWIFI);
#endif #endif
// check for the WiFi module: // check for the WiFi module:
@ -193,6 +193,7 @@ bool WifiNINA::setup(const char *SSid,
server = new WiFiServer(port); // start listening on tcp port server = new WiFiServer(port); // start listening on tcp port
server->begin(); server->begin();
// server started here // server started here
DIAG(F("Server will be started on port %d"),port); DIAG(F("Server will be started on port %d"),port);
ip = WiFi.localIP(); ip = WiFi.localIP();