Browse Source

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

master
dongie 11 years ago
parent
commit
e1087cf921
  1. 6373
      obj/baseflight.hex
  2. 2
      src/serial.c

6373
obj/baseflight.hex
File diff suppressed because it is too large
View File

2
src/serial.c

@ -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);

Loading…
Cancel
Save