Skip to content

Commit 3218512

Browse files
committed
Convert Serial prints to systemPrints.
1 parent 5c497cc commit 3218512

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

Firmware/RTK_Surveyor/Form.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ bool startWebServer(bool startWiFi = true, int httpPort = 80)
6969
if (settings.mdnsEnable == true)
7070
{
7171
if (MDNS.begin("rtk") == false) // This should make the module findable from 'rtk.local' in browser
72-
log_d("Error setting up MDNS responder!");
72+
systemPrintln("Error setting up MDNS responder!");
7373
else
7474
MDNS.addService("http", "tcp", 80); // Add service to MDNS-SD
7575
}

Firmware/RTK_Surveyor/OtaClient.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -460,12 +460,12 @@ void otaClientUpdate()
460460
else if (!otaClient->connect(OTA_SERVER, OTA_SERVER_PORT))
461461
{
462462
// if you didn't get a connection to the server:
463-
Serial.println("OTA: Connection failed");
463+
systemPrintln("OTA: Connection failed");
464464
otaStop();
465465
}
466466
else
467467
{
468-
Serial.println("OTA: Requesting JSON file");
468+
systemPrintln("OTA: Requesting JSON file");
469469

470470
// Make the HTTP request:
471471
otaClient->print("GET ");
@@ -680,12 +680,12 @@ void otaClientUpdate()
680680
else if (!otaClient->connect(OTA_SERVER, OTA_SERVER_PORT))
681681
{
682682
// if you didn't get a connection to the server:
683-
Serial.println("OTA: Connection failed");
683+
systemPrintln("OTA: Connection failed");
684684
otaStop();
685685
}
686686
else
687687
{
688-
Serial.println("OTA: Requesting BIN file");
688+
systemPrintln("OTA: Requesting BIN file");
689689

690690
// Make the HTTP request:
691691
otaClient->print("GET ");

Firmware/RTK_Surveyor/WiFi.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ bool wifiConnect(unsigned long timeout)
529529
if (settings.mdnsEnable == true)
530530
{
531531
if (MDNS.begin("rtk") == false) // This should make the module findable from 'rtk.local' in browser
532-
log_d("Error setting up MDNS responder!");
532+
systemPrintln("Error setting up MDNS responder!");
533533
else
534534
MDNS.addService("http", "tcp", settings.httpPort); // Add service to MDNS
535535
}

Firmware/RTK_Surveyor/menuPorts.ino

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,6 @@ void menuPortsMultiplexed()
308308
}
309309
else
310310
{
311-
Serial.println("Enable port");
312-
313311
bool response = true;
314312

315313
response &= theGNSS.newCfgValset();

0 commit comments

Comments
 (0)