mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-24 16:46:13 +01:00
Compare commits
1 Commits
9bc8c73c9a
...
236d39dc16
Author | SHA1 | Date | |
---|---|---|---|
|
236d39dc16 |
|
@ -81,7 +81,7 @@ bool WifiNINA::setup(const char *SSid,
|
|||
uint8_t tries = 40;
|
||||
|
||||
// Set up the pins!
|
||||
#if !defined(GIGA_WIFI)
|
||||
#ifndef GIGA_WIFI
|
||||
WiFi.setPins(SPIWIFI_SS, SPIWIFI_ACK, ESP32_RESETN, ESP32_GPIO0, &SPIWIFI);
|
||||
#endif
|
||||
// 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->begin();
|
||||
// server started here
|
||||
|
||||
DIAG(F("Server will be started on port %d"),port);
|
||||
|
||||
ip = WiFi.localIP();
|
||||
|
|
Loading…
Reference in New Issue
Block a user