From de29d6167c65da09e7086e1164d4aa777ab5fb75 Mon Sep 17 00:00:00 2001 From: Raphael <68374617+raphaelscholle@users.noreply.github.com> Date: Mon, 25 Nov 2024 23:10:11 +0100 Subject: [PATCH] testing --- app/telemetry/models/camerastreammodel.cpp | 6 +++--- qml/ui/sidebar/MavlinkChoiceElement2.qml | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/telemetry/models/camerastreammodel.cpp b/app/telemetry/models/camerastreammodel.cpp index d56ab56c5..00635e990 100644 --- a/app/telemetry/models/camerastreammodel.cpp +++ b/app/telemetry/models/camerastreammodel.cpp @@ -63,9 +63,9 @@ QString CameraStreamModel::camera_codec_to_string(int camera_codec) QString CameraStreamModel::camera_recording_mode_to_string(int recording_mode) { - if(recording_mode<0)return " n/a"; - if(recording_mode==0)return " off"; - if(recording_mode==1)return " on"; + if(recording_mode<0)return " n/a "; + if(recording_mode==0)return " inactive "; + if(recording_mode==1)return " active "; return "error"; } diff --git a/qml/ui/sidebar/MavlinkChoiceElement2.qml b/qml/ui/sidebar/MavlinkChoiceElement2.qml index bdfab8f9d..985b89a47 100644 --- a/qml/ui/sidebar/MavlinkChoiceElement2.qml +++ b/qml/ui/sidebar/MavlinkChoiceElement2.qml @@ -35,6 +35,7 @@ BaseJoyEditElement2{ // EXTRA property string mPARAM_ID_CHANNEL_WIDTH: "CHANNEL_WIDTH" property string mPARAM_ID_FREQUENCY: "FREQUENCY" + property string mPARAM_ID_FREQUENCY_SCAN: "FREQUENCY_SCAN" property string mPARAM_ID_RATE: "RATE"