Skip to content

Commit 5024174

Browse files
committed
Use helper functions
1 parent f555653 commit 5024174

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
@@ -670,7 +670,7 @@ void GNSS_LG290P::factoryReset()
670670
_lg290p->factoryRestore(); // Restores the parameters configured by all commands to their default values.
671671
// This command takes effect after restarting.
672672

673-
_lg290p->reset(); // Reboot the receiver.
673+
softwareReset(); // Reboot the receiver.
674674

675675
systemPrintln("Waiting for LG290P to reboot");
676676
while (1)
@@ -1786,9 +1786,9 @@ bool GNSS_LG290P::setRate(double secondsBetweenSolutions)
17861786
if (settings.debugGnss)
17871787
systemPrintln("Rebooting LG290P");
17881788

1789-
response &= _lg290p->save();
1789+
response &= saveConfiguration();
17901790

1791-
response &= _lg290p->reset();
1791+
response &= softwareReset();
17921792

17931793
int maxTries = 10;
17941794
for (int x = 0; x < maxTries; x++)

0 commit comments

Comments
 (0)