Skip to content

Commit 5e4a0c1

Browse files
committed
Add more inMainMenu guards
1 parent 0284eda commit 5e4a0c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Firmware/RTK_Everywhere/Tasks.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1600,7 +1600,7 @@ void handleGnssDataTask(void *e)
16001600
}
16011601
}
16021602

1603-
if (PERIODIC_DISPLAY(PD_SD_LOG_WRITE) && (bytesSent > 0))
1603+
if (PERIODIC_DISPLAY(PD_SD_LOG_WRITE) && (bytesSent > 0) && (!inMainMenu))
16041604
{
16051605
PERIODIC_CLEAR(PD_SD_LOG_WRITE);
16061606
systemPrintf("SD %d bytes written to log file\r\n", bytesToSend);
@@ -1613,7 +1613,7 @@ void handleGnssDataTask(void *e)
16131613
{
16141614
newEventToRecord = false;
16151615

1616-
if (settings.enablePrintLogFileStatus)
1616+
if ((settings.enablePrintLogFileStatus) && (!inMainMenu))
16171617
systemPrintln("Log file: recording event");
16181618

16191619
// Record trigger count with Time Of Week of rising edge (ms), Millisecond fraction of Time Of Week of
@@ -1651,7 +1651,7 @@ void handleGnssDataTask(void *e)
16511651
char ARPData[82]; // Max NMEA sentence length is 82
16521652
snprintf(ARPData, sizeof(ARPData), "%.4f,%.4f,%.4f,%.4f", x, y, z, h);
16531653

1654-
if (settings.enablePrintLogFileStatus)
1654+
if ((settings.enablePrintLogFileStatus) && (!inMainMenu))
16551655
systemPrintf("Log file: recording Antenna Reference Position %s\r\n", ARPData);
16561656

16571657
char nmeaMessage[82]; // Max NMEA sentence length is 82

0 commit comments

Comments
 (0)