1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-17 02:52:12 +01:00

OP-1260 finish renaming RattitudeModeTransition I don't know how it built before.

This commit is contained in:
Cliff Geerdes 2014-03-23 19:04:17 -04:00
parent 5ecea4bf33
commit d36cfe28ed

View File

@ -821,7 +821,7 @@ static void SettingsUpdatedCb(__attribute__((unused)) UAVObjEvent *ev)
cur_flight_mode = -1;
// Rattitude stick angle where the attitude to rate transition happens
if (settings.RattitudeModeTransistion < (uint8_t) 10) {
if (settings.RattitudeModeTransition < (uint8_t) 10) {
rattitude_mode_transition_stick_position = 10.0f / 100.0f;
} else {
rattitude_mode_transition_stick_position = (float)settings.RattitudeModeTransition / 100.0f;