Skip to content

Commit c47f543

Browse files
committed
Print network event
1 parent 5f4e1bc commit c47f543

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Firmware/RTK_Everywhere/Network.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -898,6 +898,9 @@ void networkEvent(arduino_event_id_t event, arduino_event_info_t info)
898898
{
899899
int index;
900900

901+
if (settings.debugNetworkLayer)
902+
systemPrintf("event: %d (%s)\r\n", event, Network.eventName(event));
903+
901904
// Get the index into the networkInterfaceTable for the default interface
902905
index = networkPriority;
903906
if (index < NETWORK_OFFLINE)

Firmware/RTK_Everywhere/WiFi.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2700,7 +2700,6 @@ bool RTK_WIFI::stopStart(WIFI_ACTION_t stopping, WIFI_ACTION_t starting)
27002700
// Set the soft AP subnet mask, IP, gateway, DNS, and first DHCP addresses
27012701
if (starting & WIFI_AP_SET_IP_ADDR)
27022702
{
2703-
Serial.println("\n\r Running softAP set IP");
27042703
if (!softApSetIpAddress(_apIpAddress.toString().c_str(), _apSubnetMask.toString().c_str(),
27052704
_apGatewayAddress.toString().c_str(), _apDnsAddress.toString().c_str(),
27062705
_apFirstDhcpAddress.toString().c_str()))

0 commit comments

Comments
 (0)