Skip to content

Commit 10cde36

Browse files
committed
Implement the GNSS_Mosaic class
1 parent f435ad4 commit 10cde36

File tree

6 files changed

+123
-123
lines changed

6 files changed

+123
-123
lines changed

Firmware/RTK_Everywhere/Begin.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ void beginBoard()
437437
// mosaic COM3 is available as a generic COM port. The firmware configures the baud. Nothing else.
438438

439439
// Specify the GNSS radio
440-
gnss = (GNSS *) new RTK_MOSAIC();
440+
gnss = (GNSS *) new GNSS_MOSAIC();
441441

442442
present.psram_4mb = true;
443443
present.gnss_mosaicX5 = true;

Firmware/RTK_Everywhere/Mosaic.h renamed to Firmware/RTK_Everywhere/GNSS_Mosaic.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*------------------------------------------------------------------------------
2-
mosaic.h
2+
GNSS_Mosaic.h
33
44
Declarations and definitions for the Mosaic GNSS receiver
55
------------------------------------------------------------------------------*/
66

7-
#ifndef _RTK_EVERYWHERE_MOSAIC_H
8-
#define _RTK_EVERYWHERE_MOSAIC_H
7+
#ifndef __GNSS_MOSAIC_H__
8+
#define __GNSS_MOSAIC_H__
99

1010
#include <SparkFun_Extensible_Message_Parser.h> //http://librarymanager/All#SparkFun_Extensible_Message_Parser
1111

@@ -535,7 +535,7 @@ const mosaicReceiverDynamic mosaicReceiverDynamics[] = {
535535
void mosaicX5flushRX(unsigned long timeout = 0); // Header
536536
bool mosaicX5waitCR(unsigned long timeout = 25); // Header
537537

538-
class RTK_MOSAIC : GNSS
538+
class GNSS_MOSAIC : GNSS
539539
{
540540
protected:
541541

@@ -560,7 +560,7 @@ class RTK_MOSAIC : GNSS
560560
bool _receiverSetupSeen;
561561

562562
// Constructor
563-
RTK_MOSAIC() : _determiningFixedPosition(true), _clkBias_ms(0),
563+
GNSS_MOSAIC() : _determiningFixedPosition(true), _clkBias_ms(0),
564564
_latStdDev(999.9), _lonStdDev(999.9), _receiverSetupSeen(false)
565565
{
566566
}
@@ -1001,4 +1001,4 @@ class RTK_MOSAIC : GNSS
10011001
void waitSBFReceiverSetup(unsigned long timeout);
10021002
};
10031003

1004-
#endif // _RTK_EVERYWHERE_MOSAIC_H
1004+
#endif // __GNSS_MOSAIC_H__

0 commit comments

Comments
 (0)