Skip to content

Commit 06bbecd

Browse files
committed
Rename networkInterfaceInternetConnectionLost to *EventInternetLost
1 parent da21d67 commit 06bbecd

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Firmware/RTK_Everywhere/Cellular.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ void cellularEvent(arduino_event_id_t event)
8787
if (networkInterfaceHasInternet(NETWORK_CELLULAR) && (event != ARDUINO_EVENT_ETH_GOT_IP) &&
8888
(event != ARDUINO_EVENT_ETH_GOT_IP6) && (event != ARDUINO_EVENT_PPP_CONNECTED))
8989
{
90-
networkInterfaceInternetConnectionLost(NETWORK_CELLULAR);
90+
networkInterfaceEventInternetLost(NETWORK_CELLULAR);
9191
}
9292

9393
// Cellular State Machine

Firmware/RTK_Everywhere/Ethernet.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ void ethernetEvent(arduino_event_id_t event, arduino_event_info_t info)
202202
// Take the network offline if necessary
203203
if (networkInterfaceHasInternet(NETWORK_ETHERNET) && (event != ARDUINO_EVENT_ETH_GOT_IP))
204204
{
205-
networkInterfaceInternetConnectionLost((NetIndex_t)NETWORK_ETHERNET);
205+
networkInterfaceEventInternetLost((NetIndex_t)NETWORK_ETHERNET);
206206
}
207207
}
208208

Firmware/RTK_Everywhere/Network.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ void networkInterfaceEventStop(NetIndex_t index)
642642
//----------------------------------------
643643
// Mark network offline
644644
//----------------------------------------
645-
void networkInterfaceInternetConnectionLost(NetIndex_t index)
645+
void networkInterfaceEventInternetLost(NetIndex_t index)
646646
{
647647
NetMask_t bitMask;
648648
NetPriority_t previousPriority;

Firmware/RTK_Everywhere/WiFi.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ void wifiStop()
842842
}
843843

844844
// Take the network offline
845-
networkInterfaceInternetConnectionLost(NETWORK_WIFI);
845+
networkInterfaceEventInternetLost(NETWORK_WIFI);
846846

847847
if (wifiMulti != nullptr)
848848
wifiMulti = nullptr;

0 commit comments

Comments
 (0)