Skip to content

Commit a45c50c

Browse files
committed
Turn on/off BT when attempting key WiFi connection
1 parent 0072bc0 commit a45c50c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Firmware/RTK_Surveyor/menuPP.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ void menuPointPerfect()
6969
else if (incoming == '5')
7070
{
7171
#ifdef COMPILE_WIFI
72+
stopBluetooth();
7273
startWiFi(settings.home_wifiSSID, settings.home_wifiPW);
7374

7475
unsigned long startTime = millis();
@@ -102,6 +103,7 @@ void menuPointPerfect()
102103
}
103104

104105
stopWiFi();
106+
startBluetooth();
105107
#endif
106108
}
107109
else if (incoming == '6')

0 commit comments

Comments
 (0)