fix returned size in MSP_MISC, should correct CRC errors in other GUIs and correctly work with MSP_SET_MISC in MultiWiiConf

This commit is contained in:
dongie 2013-11-02 12:40:56 +09:00
parent 1990c6a67e
commit e1087cf921
2 changed files with 3200 additions and 3175 deletions

File diff suppressed because it is too large Load Diff

View File

@ -494,7 +494,7 @@ static void evaluateCommand(void)
serialize8(availableBoxes[i]);
break;
case MSP_MISC:
headSerialReply(2 * 6 + 4 + 2 + 8 * 4);
headSerialReply(2 * 6 + 4 + 2 + 4);
serialize16(0); // intPowerTrigger1 (aka useless trash)
serialize16(mcfg.minthrottle);
serialize16(mcfg.maxthrottle);