adding support for maxthrottle and mincommand in MSP_SET_MISC now that all the tools can use it.

This commit is contained in:
dongie 2014-01-15 19:37:31 +09:00
parent 9a7ff04422
commit a206965854
2 changed files with 3384 additions and 3373 deletions

File diff suppressed because it is too large Load Diff

View File

@ -321,7 +321,8 @@ static void evaluateCommand(void)
case MSP_SET_MISC: case MSP_SET_MISC:
read16(); // powerfailmeter read16(); // powerfailmeter
mcfg.minthrottle = read16(); mcfg.minthrottle = read16();
read32(); // mcfg.maxthrottle, mcfg.mincommand mcfg.maxthrottle = read16();
mcfg.mincommand = read16();
cfg.failsafe_throttle = read16(); cfg.failsafe_throttle = read16();
read16(); read16();
read32(); read32();