Update PortduinoGlue.cpp

Fix typo in var identifier
This commit is contained in:
Ted W. 2025-10-23 19:39:34 -04:00 committed by GitHub
parent 02b1e9d40d
commit 542e3e7e7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -705,7 +705,7 @@ bool loadConfig(const char *configPath)
portduino_config.api_port = (yamlConfig["General"]["APIPort"]).as<int>(-1);
if (portduino_config.api_port != -1 &&
portduino_config.api_port > 1023 &&
portduino_config._api_port < 65536) {
portduino_config.api_port < 65536) {
TCPPort = (portduino_config.api_port);
}
}