From 1d341b41b9e6955427122983fc5ca11b29f6c0bd Mon Sep 17 00:00:00 2001 From: Marcelo Bezerra <23555060+mmosca@users.noreply.github.com> Date: Thu, 6 Jun 2024 22:54:45 +0200 Subject: [PATCH] Add Gimbal device --- js/serialPortHelper.js | 6 ++++++ locale/en/messages.json | 3 +++ 2 files changed, 9 insertions(+) diff --git a/js/serialPortHelper.js b/js/serialPortHelper.js index f2c7d186..d851b3ed 100644 --- a/js/serialPortHelper.js +++ b/js/serialPortHelper.js @@ -121,6 +121,11 @@ const serialPortHelper = (function () { name: 'SBUS_OUTPUT', groups: ['peripherals'], defaultBaud: 115200 + }, + { + name: 'GIMBAL', + groups: ['peripherals'], + defaultBaud: 115200 } ]; @@ -150,6 +155,7 @@ const serialPortHelper = (function () { 'SBUS_OUTPUT': 22, 'SMARTPORT_MASTER': 23, 'MSP_DISPLAYPORT': 25, + 'GIMBAL': 26 }; privateScope.identifierToName = { diff --git a/locale/en/messages.json b/locale/en/messages.json index 031f2be0..5aad1385 100644 --- a/locale/en/messages.json +++ b/locale/en/messages.json @@ -1325,6 +1325,9 @@ "portsFunction_SBUS_OUTPUT": { "message": "SBus Output" }, + "portsFunction_GIMBAL": { + "message": "Serial Gimbal" + }, "pidTuning_Other": { "message": "Other" },