Skip to content

Commit 18b7799

Browse files
committed
Put LoRa radio into communication mode during command mode
Fix #770
1 parent 715c749 commit 18b7799

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Firmware/RTK_Everywhere/LoRa.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ void beginLoraFirmwareUpdate()
542542
else
543543
systemPrintln("ERROR: productVariant does not support LoRa");
544544

545-
// Make sure ESP32 is connected to LoRa STM32 UART
545+
// Make sure ESP-UART1 is connected to LoRa STM32 UART0
546546
muxSelectLoRaConfigure();
547547

548548
loraEnterBootloader(); // Push boot pin high and reset STM32
@@ -715,7 +715,7 @@ bool loraEnterCommandMode()
715715

716716
systemFlush(); // Complete prints
717717

718-
muxSelectLoRaConfigure(); // Connect to the STM32 for configuration
718+
muxSelectLoRaCommunication(); // Connect the LoRa radio to ESP32 UART0 (shared with USB)
719719

720720
delay(50); // Wait for incoming serial to complete
721721
while (Serial.available())

0 commit comments

Comments
 (0)