From f92bde4c9369074f681ed5d52f72f7e916c6c43c Mon Sep 17 00:00:00 2001 From: Marcelo Bezerra <23555060+mmosca@users.noreply.github.com> Date: Thu, 21 Nov 2024 15:37:11 +0100 Subject: [PATCH] Revert "Bump version, just in case" This reverts commit 7093a8dab77b852591cde687c8c123d7e64c285e. --- src/main/drivers/gimbal_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/drivers/gimbal_common.c b/src/main/drivers/gimbal_common.c index 261ca3b7cde..e03e7fd9ddd 100644 --- a/src/main/drivers/gimbal_common.c +++ b/src/main/drivers/gimbal_common.c @@ -36,7 +36,7 @@ #include "settings_generated.h" -PG_REGISTER_WITH_RESET_TEMPLATE(gimbalConfig_t, gimbalConfig, PG_GIMBAL_CONFIG, 2); +PG_REGISTER_WITH_RESET_TEMPLATE(gimbalConfig_t, gimbalConfig, PG_GIMBAL_CONFIG, 1); PG_RESET_TEMPLATE(gimbalConfig_t, gimbalConfig, .panChannel = SETTING_GIMBAL_PAN_CHANNEL_DEFAULT, @@ -136,4 +136,4 @@ int16_t gimbalCommonGetPanPwm(const gimbalDevice_t *gimbalDevice) return gimbalDevice ? gimbalDevice->currentPanPWM : PWM_RANGE_MIDDLE + gimbalConfig()->panTrim; } -#endif +#endif \ No newline at end of file