Skip to content

Commit 29113dd

Browse files
committed
Add checkArrayDefaults and checkGNSSArrayDefaults to settingsToDefaults
1 parent 979750b commit 29113dd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Firmware/RTK_Everywhere/System.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,9 @@ void settingsToDefaults()
391391
{
392392
static const Settings defaultSettings;
393393
settings = defaultSettings;
394+
395+
checkArrayDefaults(); // This does not call recordSystemSettings
396+
checkGNSSArrayDefaults(); // This calls recordSystemSettings if any GNSS defaults are applied
394397
}
395398

396399
// Periodically print information if enabled

0 commit comments

Comments
 (0)