Skip to content

Commit

Permalink
change int16 to int8
Browse files Browse the repository at this point in the history
  • Loading branch information
error414 committed Oct 8, 2024
1 parent 0b99057 commit 792f666
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/drivers/gimbal_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/main/fc/settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 792f666

Please sign in to comment.