Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Firmware/RTK_Everywhere/WiFi.ino
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,11 @@ bool wifiConnect(unsigned long timeout)

bool wifiConnect(unsigned long timeout, bool useAPSTAMode, bool *wasInAPmode)
{
if (wifiIsConnected())
// If WiFi is already connected and AP_STA mode is not needed, then return true now
if (wifiIsConnected() && !useAPSTAMode)
{
return (true); // Nothing to do
}

displayWiFiConnect();

Expand Down