1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

Merge pull request #2684 from betaflight/fix-rccontrols-yaw-pg

fix missing yaw default when using PGs.
This commit is contained in:
borisbstyle 2017-03-18 23:18:44 +01:00 committed by GitHub
commit 82c44f275c

View file

@ -76,7 +76,8 @@ PG_RESET_TEMPLATE(rcControlsConfig_t, rcControlsConfig,
.deadband = 0, .deadband = 0,
.yaw_deadband = 0, .yaw_deadband = 0,
.alt_hold_deadband = 40, .alt_hold_deadband = 40,
.alt_hold_fast_change = 1 .alt_hold_fast_change = 1,
.yaw_control_direction = 1,
); );
PG_REGISTER_WITH_RESET_TEMPLATE(armingConfig_t, armingConfig, PG_ARMING_CONFIG, 0); PG_REGISTER_WITH_RESET_TEMPLATE(armingConfig_t, armingConfig, PG_ARMING_CONFIG, 0);