@@ -519,7 +519,7 @@ void commandSendAllInterfaces(char *rxData)
519519 // errors
520520
521521 // With debug=debug, 788 characters are printed locally that slow down the interface enough to avoid errors,
522- // or 68.4ms at 115200
522+ // or 68.4ms at 115200
523523 // With debug=error, can we delay 70ms after every line print and avoid errors? Yes! Works
524524 // well. 50ms is good, 25ms works sometimes without error, 5 is bad.
525525
@@ -1282,13 +1282,23 @@ SettingValueResponse updateSettingWithValue(bool inCommands, const char *setting
12821282 }
12831283 break ;
12841284 }
1285- }
12861285
1287- // Done when the setting is found
1288- if (knownSetting == true && settingIsString == true )
1289- return (SETTING_KNOWN_STRING);
1290- else if (knownSetting == true )
1291- return (SETTING_KNOWN);
1286+ // Done when the setting is found
1287+ if (knownSetting == true && settingIsString == true )
1288+ {
1289+ // Determine if extra work needs to be done when the setting changes
1290+ if (rtkSettingsEntries[i].afterSetCmd )
1291+ rtkSettingsEntries[i].afterSetCmd (i);
1292+ return (SETTING_KNOWN_STRING);
1293+ }
1294+ else if (knownSetting == true )
1295+ {
1296+ // Determine if extra work needs to be done when the setting changes
1297+ if (rtkSettingsEntries[i].afterSetCmd )
1298+ rtkSettingsEntries[i].afterSetCmd (i);
1299+ return (SETTING_KNOWN);
1300+ }
1301+ }
12921302
12931303 if (strcmp (settingName, " fixedLatText" ) == 0 )
12941304 {
0 commit comments