Skip to content

Commit d8157bc

Browse files
committed
States: Don't start ESP-NOW early, causes WiFi STA channel conflict
1 parent 82f52f9 commit d8157bc

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Firmware/RTK_Everywhere/States.ino

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ void stateUpdate()
111111
setMuxport(settings.dataPortChannel); // Return mux to original channel
112112

113113
bluetoothStart(); // Turn on Bluetooth with 'Rover' name
114-
ESPNOW_START(); // Start internal radio if enabled, otherwise disable
115114

116115
webServerStop(); // Stop the web config server
117116
baseCasterDisableOverride(); // Disable casting overrides
@@ -331,8 +330,6 @@ void stateUpdate()
331330
// Start the NTRIP server if requested
332331
RTK_MODE(RTK_MODE_BASE_FIXED);
333332

334-
ESPNOW_START(); // Start internal radio if enabled, otherwise disable
335-
336333
rtcmPacketsSent = 0; // Reset any previous number
337334
changeState(STATE_BASE_TEMP_TRANSMITTING);
338335
}
@@ -397,9 +394,6 @@ void stateUpdate()
397394
if (response == true)
398395
{
399396
baseStatusLedOn(); // Turn on the base/status LED
400-
401-
ESPNOW_START(); // Start internal radio if enabled, otherwise disable
402-
403397
changeState(STATE_BASE_FIXED_TRANSMITTING);
404398
}
405399
else

0 commit comments

Comments
 (0)