Skip to content

Commit 6c25a0b

Browse files
committed
fixed comments (copy-paste typos)
1 parent 0fc2485 commit 6c25a0b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/SparkFun_u-blox_GNSS_Arduino_Library.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14244,7 +14244,7 @@ bool SFE_UBLOX_GNSS::setAutoTIMSMEAcallback(void (*callbackPointer)(UBX_TIM_SMEA
1424414244
{
1424514245
#ifndef SFE_UBLOX_REDUCED_PROG_MEM
1424614246
if ((_printDebug == true) || (_printLimitedDebug == true)) // This is important. Print this if doing limited debugging
14247-
_debugSerial->println(F("setAutoTIMTM2callback: RAM alloc failed!"));
14247+
_debugSerial->println(F("setAutoTIMSMEAcallback: RAM alloc failed!"));
1424814248
#endif
1424914249
return (false);
1425014250
}

src/SparkFun_u-blox_GNSS_Arduino_Library.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1295,8 +1295,8 @@ class SFE_UBLOX_GNSS
12951295
void flushTIMTM2(); // Mark all the data as read/stale
12961296
void logTIMTM2(bool enabled = true); // Log data to file buffer
12971297

1298-
bool setAutoTIMSMEA(bool enabled, bool implicitUpdate, uint16_t maxWait = defaultMaxWait); // Enable/disable automatic TIM TM2 reports at the navigation frequency, with implicitUpdate == false accessing stale data will not issue parsing of data in the rxbuffer of your interface, instead you have to call checkUblox when you want to perform an update
1299-
bool setAutoTIMSMEAcallback(void (*callbackPointer)(UBX_TIM_SMEAS_data_t), uint16_t maxWait = defaultMaxWait); // Enable automatic TM2 reports at the navigation frequency. Data is accessed from the callback.
1298+
bool setAutoTIMSMEA(bool enabled, bool implicitUpdate, uint16_t maxWait = defaultMaxWait); // Enable/disable automatic TIM SMEA reports at the navigation frequency, with implicitUpdate == false accessing stale data will not issue parsing of data in the rxbuffer of your interface, instead you have to call checkUblox when you want to perform an update
1299+
bool setAutoTIMSMEAcallback(void (*callbackPointer)(UBX_TIM_SMEAS_data_t), uint16_t maxWait = defaultMaxWait); // Enable automatic SMEA reports at the navigation frequency. Data is accessed from the callback.
13001300
void flushTIMSMEA(); // Mark all the data as read/stale
13011301
void logTIMSMEA(bool enabled = true); // Log data to file buffer
13021302

0 commit comments

Comments
 (0)