From 5fd4e8e5ae92db72cc921daf1db08623a74fabe8 Mon Sep 17 00:00:00 2001 From: JulioCesarMatias Date: Tue, 12 Sep 2023 17:41:16 -0300 Subject: [PATCH 1/3] Add project to Bitbucket example --- src/main/sensors/compass.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/sensors/compass.c b/src/main/sensors/compass.c index 23d45ed787..9c7ba99d9f 100644 --- a/src/main/sensors/compass.c +++ b/src/main/sensors/compass.c @@ -485,4 +485,5 @@ void compassUpdate(timeUs_t currentTimeUs) magUpdatedAtLeastOnce = true; } + #endif From 5d4cb57b13774a878090828d04b859275d181cdb Mon Sep 17 00:00:00 2001 From: Julio Cesar Date: Thu, 14 Dec 2023 22:38:59 -0300 Subject: [PATCH 2/3] fix default param name --- docs/Settings.md | 2 +- src/main/fc/settings.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Settings.md b/docs/Settings.md index 17384f9273..4ddf5cc1f2 100644 --- a/docs/Settings.md +++ b/docs/Settings.md @@ -4828,7 +4828,7 @@ Character to use for OSD switch incicator 3. | Default | Min | Max | | --- | --- | --- | -| LIGT | | 5 | +| LIGHT | | 5 | --- diff --git a/src/main/fc/settings.yaml b/src/main/fc/settings.yaml index 1011638959..5bb06bed96 100644 --- a/src/main/fc/settings.yaml +++ b/src/main/fc/settings.yaml @@ -3613,7 +3613,7 @@ groups: field: osd_switch_indicator3_name type: string max: 5 - default_value: "LIGT" + default_value: "LIGHT" - name: osd_switch_indicator_zero_channel description: "RC Channel to use for OSD switch indicator 0." From 672aa01f607fb7b72f27c58a863fb7a93ff88576 Mon Sep 17 00:00:00 2001 From: Julio Cesar Date: Thu, 14 Dec 2023 22:55:09 -0300 Subject: [PATCH 3/3] fix telemetry name --- docs/SITL/SITL.md | 2 +- docs/Settings.md | 2 +- lib/main/MAVLink/common/common.h | 2 +- src/main/fc/settings.yaml | 2 +- src/main/io/osd.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/SITL/SITL.md b/docs/SITL/SITL.md index 8dca15e22f..0c12713578 100644 --- a/docs/SITL/SITL.md +++ b/docs/SITL/SITL.md @@ -79,7 +79,7 @@ For this you need a FT232 module. With FT-Prog (https://ftdichip.com/utilities/) For SBUS, the command line arguments of the python script are: ```python tcp_serial_redirect.py --parity E --stopbits 2 -c 127.0.0.1:[INAV-UART-PORT] COMXX 100000``` -### Telemtry +### Telemetry LTM and MAVLink telemetry are supported, either as a discrete function or shared with MSP. diff --git a/docs/Settings.md b/docs/Settings.md index 4ddf5cc1f2..17384f9273 100644 --- a/docs/Settings.md +++ b/docs/Settings.md @@ -4828,7 +4828,7 @@ Character to use for OSD switch incicator 3. | Default | Min | Max | | --- | --- | --- | -| LIGHT | | 5 | +| LIGT | | 5 | --- diff --git a/lib/main/MAVLink/common/common.h b/lib/main/MAVLink/common/common.h index 55200c5a84..ec5fc7218d 100755 --- a/lib/main/MAVLink/common/common.h +++ b/lib/main/MAVLink/common/common.h @@ -48,7 +48,7 @@ typedef enum FIRMWARE_VERSION_TYPE } FIRMWARE_VERSION_TYPE; #endif -/** @brief Flags to report failure cases over the high latency telemtry. */ +/** @brief Flags to report failure cases over the high latency telemetry. */ #ifndef HAVE_ENUM_HL_FAILURE_FLAG #define HAVE_ENUM_HL_FAILURE_FLAG typedef enum HL_FAILURE_FLAG diff --git a/src/main/fc/settings.yaml b/src/main/fc/settings.yaml index 5bb06bed96..1011638959 100644 --- a/src/main/fc/settings.yaml +++ b/src/main/fc/settings.yaml @@ -3613,7 +3613,7 @@ groups: field: osd_switch_indicator3_name type: string max: 5 - default_value: "LIGHT" + default_value: "LIGT" - name: osd_switch_indicator_zero_channel description: "RC Channel to use for OSD switch indicator 0." diff --git a/src/main/io/osd.c b/src/main/io/osd.c index 1662094cab..17db9297e4 100644 --- a/src/main/io/osd.c +++ b/src/main/io/osd.c @@ -3685,7 +3685,7 @@ void osdDrawNextElement(void) elementIndex = osdIncElementIndex(elementIndex); } while (!osdDrawSingleElement(elementIndex) && index != elementIndex); - // Draw artificial horizon + tracking telemtry last + // Draw artificial horizon + tracking telemetry last osdDrawSingleElement(OSD_ARTIFICIAL_HORIZON); if (osdConfig()->telemetry>0){ osdDisplayTelemetry();