mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 07:15:18 +03:00
Added PG config definitions 8
This commit is contained in:
parent
3be6441e74
commit
7ae57eb8cf
10 changed files with 78 additions and 16 deletions
|
@ -1275,7 +1275,7 @@ static mspResult_e mspFcProcessInCommand(uint8_t cmdMSP, sbuf_t *src)
|
|||
} else {
|
||||
value = value & ~RATEPROFILE_MASK;
|
||||
|
||||
if (value >= MAX_RATEPROFILES) {
|
||||
if (value >= CONTROL_RATE_PROFILE_COUNT) {
|
||||
value = 0;
|
||||
}
|
||||
changeControlRateProfile(value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue