1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

Merge pull request #830 from mikeller/reset_current_rateprofile

Added reset of current rateprofile to 'resetProfile'.
This commit is contained in:
Anton 2016-07-27 08:28:09 +02:00 committed by GitHub
commit 145789a981

View file

@ -265,6 +265,8 @@ void resetProfile(profile_t *profile)
for (int rI = 0; rI<MAX_RATEPROFILES; rI++) {
resetControlRateConfig(&profile->controlRateProfile[rI]);
}
profile->activeRateProfile = 0;
}
#ifdef GPS