Skip to content

Commit 4265f60

Browse files
committed
Fix logging type
1 parent 8a998e9 commit 4265f60

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Firmware/RTK_Everywhere/GNSS_ZED.ino

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,8 @@ bool GNSS_ZED::beginPPS()
309309
return (response);
310310
}
311311

312+
//----------------------------------------
313+
// Returns true if the 5 'standard' messages are enabled
312314
//----------------------------------------
313315
bool GNSS_ZED::checkNMEARates()
314316
{
@@ -1134,10 +1136,10 @@ uint8_t GNSS_ZED::getLoggingType()
11341136
{
11351137
if (checkNMEARates())
11361138
{
1137-
loggingType = LOGGING_STANDARD;
1139+
logType = LOGGING_STANDARD;
11381140

11391141
if (checkPPPRates())
1140-
loggingType = LOGGING_PPP;
1142+
logType = LOGGING_PPP;
11411143
}
11421144
}
11431145

0 commit comments

Comments
 (0)