1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 20:35:33 +03:00

Reset adjustment states when switching profiles.

Fixes #544.
This commit is contained in:
Dominic Clifton 2015-02-26 13:57:22 +00:00
parent 05b1b5a9b2
commit 55d9994ff8
3 changed files with 9 additions and 0 deletions

View file

@ -593,3 +593,9 @@ void useRcControlsConfig(modeActivationCondition_t *modeActivationConditions, es
}
}
}
void resetAdjustmentStates(void)
{
memset(adjustmentStates, 0, sizeof(adjustmentStates));
}