More sfpp work

This commit is contained in:
Jonathan Bennett
2025-12-14 15:58:41 -06:00
parent 6b2bd09dd8
commit dfe74653f2
4 changed files with 173 additions and 21 deletions

View File

@@ -746,6 +746,10 @@ bool loadConfig(const char *configPath)
}
}
if (yamlConfig["StoreAndForward"]) {
portduino_config.sfpp_stratum0 = (yamlConfig["StoreAndForward"]["Stratum0"]).as<bool>(false);
}
if (yamlConfig["General"]) {
portduino_config.MaxNodes = (yamlConfig["General"]["MaxNodes"]).as<int>(200);
portduino_config.maxtophone = (yamlConfig["General"]["MaxMessageQueue"]).as<int>(100);