Skip to content

Commit 90004dc

Browse files
committed
Merge branch 'release_candidate' into pcUpdates
2 parents c8dd670 + 5dfe93a commit 90004dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Firmware/RTK_Everywhere/GNSS_LG290P.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,6 @@ void GNSS_LG290P::begin()
101101
online.gnss = true;
102102

103103
// Check firmware version and print info
104-
printModuleInfo();
105-
106104
std::string version, buildDate, buildTime;
107105
if (_lg290p->getVersionInfo(version, buildDate, buildTime))
108106
snprintf(gnssFirmwareVersion, sizeof(gnssFirmwareVersion), "%s", version.c_str());
@@ -125,6 +123,8 @@ void GNSS_LG290P::begin()
125123
lg290pFirmwareVersion, gnssFirmwareVersion);
126124
}
127125

126+
printModuleInfo();
127+
128128
snprintf(gnssUniqueId, sizeof(gnssUniqueId), "%s", getId());
129129
}
130130

@@ -1754,7 +1754,7 @@ void GNSS_LG290P::printModuleInfo()
17541754
std::string version, buildDate, buildTime;
17551755
if (_lg290p->getVersionInfo(version, buildDate, buildTime))
17561756
{
1757-
systemPrintf("LG290P version: %s %s %s\r\n", version.c_str(), buildDate.c_str(), buildTime.c_str());
1757+
systemPrintf("LG290P version: v%02d - %s %s %s - v%d\r\n", lg290pFirmwareVersion, version.c_str(), buildDate.c_str(), buildTime.c_str());
17581758
}
17591759
else
17601760
{

0 commit comments

Comments
 (0)