diff options
author | Michel Pastor <shellixyz@users.noreply.github.com> | 2019-05-25 18:30:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-25 18:30:50 +0300 |
commit | 4cf10eedf9cce88c169efa21f3d3ee41b3aaef59 (patch) | |
tree | 21726c401cf59d3dc97adedece7c329eb07adccb /tabs | |
parent | be7e3698a1394aa17e30e763b4fbd75de0ecbb3b (diff) |
Add the GSM SMS telemetry option (#781)
Diffstat (limited to 'tabs')
-rw-r--r-- | tabs/ports.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tabs/ports.js b/tabs/ports.js index 13e2227e..6c07bb75 100644 --- a/tabs/ports.js +++ b/tabs/ports.js @@ -42,6 +42,14 @@ TABS.ports.initialize = function (callback) { ); } + if (semver.gte(CONFIG.flightControllerVersion, "2.2.0")) { + functionRules.push({ + name: 'GSM_SMS', + groups: ['telemetry'], + maxPorts: 1 } + ); + } + // support configure RunCam Device functionRules.push({ name: 'RUNCAM_DEVICE_CONTROL', |