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:
commit
145789a981
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue