Skip to content

Commit 893cfc9

Browse files
committed
Comment the mosaic debug prints - the SBF prints as garbage
1 parent d66aa26 commit 893cfc9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Firmware/RTK_Everywhere/GNSS_Mosaic.ino

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2114,8 +2114,8 @@ bool GNSS_MOSAIC::sendAndWaitForIdle(HardwareSerial *serialPort, const char *mes
21142114
if (serialPort->available()) // If a char is available
21152115
{
21162116
uint8_t c = serialPort->read(); // Read it
2117-
if (debug && (settings.debugGnss == true) && (!inMainMenu))
2118-
systemPrintf("%c", (char)c);
2117+
//if (debug && (settings.debugGnss == true) && (!inMainMenu))
2118+
// systemPrintf("%c", (char)c);
21192119
if (c == *(reply + replySeen)) // Is it a char from reply?
21202120
{
21212121
if (response && (replySeen < (responseSize - 1)))
@@ -2138,8 +2138,8 @@ bool GNSS_MOSAIC::sendAndWaitForIdle(HardwareSerial *serialPort, const char *mes
21382138
if (serialPort->available())
21392139
{
21402140
uint8_t c = serialPort->read();
2141-
if (debug && (settings.debugGnss == true) && (!inMainMenu))
2142-
systemPrintf("%c", (char)c);
2141+
//if (debug && (settings.debugGnss == true) && (!inMainMenu))
2142+
// systemPrintf("%c", (char)c);
21432143
if (response && (replySeen < (responseSize - 1)))
21442144
{
21452145
*(response + replySeen) = c;
@@ -2228,8 +2228,8 @@ bool GNSS_MOSAIC::sendWithResponse(HardwareSerial *serialPort, const char *messa
22282228
if (serialPort->available()) // If a char is available
22292229
{
22302230
uint8_t c = serialPort->read(); // Read it
2231-
if ((settings.debugGnss == true) && (!inMainMenu))
2232-
systemPrintf("%c", (char)c);
2231+
//if ((settings.debugGnss == true) && (!inMainMenu))
2232+
// systemPrintf("%c", (char)c);
22332233
if (c == *(reply + replySeen)) // Is it a char from reply?
22342234
{
22352235
if (response && (replySeen < (responseSize - 1)))
@@ -2260,8 +2260,8 @@ bool GNSS_MOSAIC::sendWithResponse(HardwareSerial *serialPort, const char *messa
22602260
if (serialPort->available())
22612261
{
22622262
uint8_t c = serialPort->read();
2263-
if ((settings.debugGnss == true) && (!inMainMenu))
2264-
systemPrintf("%c", (char)c);
2263+
//if ((settings.debugGnss == true) && (!inMainMenu))
2264+
// systemPrintf("%c", (char)c);
22652265
if (response && (replySeen < (responseSize - 1)))
22662266
{
22672267
*(response + replySeen) = c;

0 commit comments

Comments
 (0)