Commit 156b8231 authored by Willian Galvani's avatar Willian Galvani

Create nmeaUdpPort setting

parent 1b542ab5
...@@ -72,5 +72,11 @@ ...@@ -72,5 +72,11 @@
"shortDescription": "UDP target host port for autoconnect", "shortDescription": "UDP target host port for autoconnect",
"type": "uint32", "type": "uint32",
"defaultValue": 14550 "defaultValue": 14550
},
{
"name": "nmeaUdpPort",
"shortDescription": "Udp port to receive NMEA streams",
"type": "uint32",
"defaultValue": 14401
} }
] ]
...@@ -23,6 +23,7 @@ DECLARE_SETTINGSFACT(AutoConnectSettings, autoConnectUDP) ...@@ -23,6 +23,7 @@ DECLARE_SETTINGSFACT(AutoConnectSettings, autoConnectUDP)
DECLARE_SETTINGSFACT(AutoConnectSettings, udpListenPort) DECLARE_SETTINGSFACT(AutoConnectSettings, udpListenPort)
DECLARE_SETTINGSFACT(AutoConnectSettings, udpTargetHostIP) DECLARE_SETTINGSFACT(AutoConnectSettings, udpTargetHostIP)
DECLARE_SETTINGSFACT(AutoConnectSettings, udpTargetHostPort) DECLARE_SETTINGSFACT(AutoConnectSettings, udpTargetHostPort)
DECLARE_SETTINGSFACT(AutoConnectSettings, nmeaUdpPort)
DECLARE_SETTINGSFACT_NO_FUNC(AutoConnectSettings, autoConnectPixhawk) DECLARE_SETTINGSFACT_NO_FUNC(AutoConnectSettings, autoConnectPixhawk)
{ {
......
...@@ -31,5 +31,5 @@ public: ...@@ -31,5 +31,5 @@ public:
DEFINE_SETTINGFACT(udpListenPort) DEFINE_SETTINGFACT(udpListenPort)
DEFINE_SETTINGFACT(udpTargetHostIP) DEFINE_SETTINGFACT(udpTargetHostIP)
DEFINE_SETTINGFACT(udpTargetHostPort) DEFINE_SETTINGFACT(udpTargetHostPort)
DEFINE_SETTINGFACT(nmeaUdpPort)
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment