Skip to content

Commit 992f11d

Browse files
authored
Merge pull request #777 from LeeLeahy2/no-point-perfect
Build with COMPILE_POINTPERFECT_LIBRARY commented out
2 parents cdc8db6 + 027d2a5 commit 992f11d

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Firmware/RTK_Everywhere/Developer.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ bool sendGnssToPpl(uint8_t *buffer, int numDataBytes) {return false;}
307307
bool sendSpartnToPpl(uint8_t *buffer, int numDataBytes) {return false;}
308308
bool sendAuxSpartnToPpl(uint8_t *buffer, int numDataBytes) {return false;}
309309
void pointperfectPrintKeyInformation(const char *requestedBy) {systemPrintln("**PPL Not Compiled**");}
310+
void pointperfectPrintNtripInformation(const char *requestedBy) {}
310311

311312
#endif // COMPILE_POINTPERFECT_LIBRARY
312313

Firmware/RTK_Everywhere/PointPerfectLibrary.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ void beginPPL()
152152

153153
uint32_t pplConfigOptionsMask;
154154
pplConfigOptionsMask = PPL_CFG_DEFAULT_CFG; // IP and L-Band support
155-
155+
156156
ePPL_ReturnStatus result = PPL_Initialize(pplConfigOptionsMask);
157157

158158
if (result != ePPL_Success)
@@ -556,8 +556,6 @@ void pointperfectPrintKeyInformation(const char *requestedBy)
556556
printDaysFromDuration(settings.pointPerfectNextKeyDuration));
557557
}
558558

559-
#endif // COMPILE_POINTPERFECT_LIBRARY
560-
561559
void pointperfectPrintNtripInformation(const char *requestedBy)
562560
{
563561
// All calls to pointperfectPrintNtripInformation are guarded by settings.debugCorrections
@@ -567,4 +565,6 @@ void pointperfectPrintNtripInformation(const char *requestedBy)
567565
systemPrintf(" ntripClient_CasterUser: %s\r\n", settings.ntripClient_CasterUser);
568566
systemPrintf(" ntripClient_CasterUserPW: %s\r\n", settings.ntripClient_CasterUserPW);
569567
systemPrintf(" ntripClient_MountPoint: %s\r\n", settings.ntripClient_MountPoint);
570-
}
568+
}
569+
570+
#endif // COMPILE_POINTPERFECT_LIBRARY

0 commit comments

Comments
 (0)