mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
adding support for maxthrottle and mincommand in MSP_SET_MISC now that all the tools can use it.
This commit is contained in:
parent
9a7ff04422
commit
a206965854
2 changed files with 3384 additions and 3373 deletions
6754
obj/baseflight.hex
6754
obj/baseflight.hex
File diff suppressed because it is too large
Load diff
|
@ -321,7 +321,8 @@ static void evaluateCommand(void)
|
|||
case MSP_SET_MISC:
|
||||
read16(); // powerfailmeter
|
||||
mcfg.minthrottle = read16();
|
||||
read32(); // mcfg.maxthrottle, mcfg.mincommand
|
||||
mcfg.maxthrottle = read16();
|
||||
mcfg.mincommand = read16();
|
||||
cfg.failsafe_throttle = read16();
|
||||
read16();
|
||||
read32();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue