Skip to content

Commit 9387823

Browse files
committed
Fix build with COMPILE_LG290P commented out
1 parent 469b712 commit 9387823

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

Firmware/RTK_Everywhere/Developer.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,10 @@ void pointperfectPrintKeyInformation(const char *requestedBy) {systemPrintln("**
276276

277277
#ifndef COMPILE_LG290P
278278

279+
void lg290pBoot() {}
279280
void lg290pHandler(uint8_t * buffer, int length) {}
281+
bool lg290pMessageEnabled(char *nmeaSentence, int sentenceLength) {return false;}
282+
void lg290pReset() {}
280283

281284
#endif // COMPILE_LG290P
282285

Firmware/RTK_Everywhere/GNSS_LG290P.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2197,8 +2197,6 @@ void GNSS_LG290P::update()
21972197
// We don't check serial data here; the gnssReadTask takes care of serial consumption
21982198
}
21992199

2200-
#endif // COMPILE_LG290P
2201-
22022200
//----------------------------------------
22032201
void lg290pBoot()
22042202
{
@@ -2262,3 +2260,5 @@ bool lg290pMessageEnabled(char *nmeaSentence, int sentenceLength)
22622260
// If we can't ID this message, allow it by default. The device configuration should control most message flow.
22632261
return (true);
22642262
}
2263+
2264+
#endif // COMPILE_LG290P

Firmware/RTK_Everywhere/RTK_Everywhere.ino

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,14 @@
3131
#define COMPILE_ESPNOW // Requires WiFi. Comment out to remove ESP-Now functionality.
3232
#endif // COMPILE_WIFI
3333

34+
#define COMPILE_LG290P // Comment out to remove LG290P functionality
35+
#define COMPILE_MOSAICX5 // Comment out to remove mosaic-X5 functionality
36+
#define COMPILE_UM980 // Comment out to remove UM980 functionality
3437
#define COMPILE_ZED // Comment out to remove ZED-F9x functionality
38+
39+
#ifdef COMPILE_ZED
3540
#define COMPILE_L_BAND // Comment out to remove L-Band functionality
36-
#define COMPILE_UM980 // Comment out to remove UM980 functionality
37-
#define COMPILE_MOSAICX5 // Comment out to remove mosaic-X5 functionality
38-
#define COMPILE_LG290P // Comment out to remove LG290P functionality
41+
#endif // COMPILE_ZED
3942

4043
#define COMPILE_IM19_IMU // Comment out to remove IM19_IMU functionality
4144
#define COMPILE_POINTPERFECT_LIBRARY // Comment out to remove PPL support

0 commit comments

Comments
 (0)