From 792f666f174a98526e415cdfef55448dacd6e198 Mon Sep 17 00:00:00 2001 From: error414 Date: Tue, 8 Oct 2024 20:17:06 +0200 Subject: [PATCH] change int16 to int8 --- src/main/drivers/gimbal_common.h | 2 +- src/main/fc/settings.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/drivers/gimbal_common.h b/src/main/drivers/gimbal_common.h index 3b5532bc81a..b4b7337dc2f 100644 --- a/src/main/drivers/gimbal_common.h +++ b/src/main/drivers/gimbal_common.h @@ -61,7 +61,7 @@ typedef struct gimbalConfig_s { uint8_t panChannel; uint8_t tiltChannel; uint8_t rollChannel; - int16_t sensitivity; + int8_t sensitivity; int16_t panTrim; int16_t tiltTrim; int16_t rollTrim; diff --git a/src/main/fc/settings.yaml b/src/main/fc/settings.yaml index e57b5399199..c8b6de6d406 100644 --- a/src/main/fc/settings.yaml +++ b/src/main/fc/settings.yaml @@ -4287,7 +4287,7 @@ groups: field: sensitivity min: -16 max: 15 - type: int16_t + type: int8_t - name: gimbal_pan_trim field: panTrim description: "Trim gimbal pan center position."