mirror of
https://github.com/meshtastic/firmware.git
synced 2025-10-27 15:02:41 +00:00
Update PortduinoGlue.cpp
Fix typo in var identifier
This commit is contained in:
parent
02b1e9d40d
commit
542e3e7e7d
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user