Fixing missing reply in MSP_SET_MOTORS. Found by cTn

This commit is contained in:
dongie 2014-02-20 19:56:40 +09:00
parent d40e8c0ef4
commit f83133fa74
2 changed files with 4 additions and 3 deletions

View File

@ -304,8 +304,8 @@
:1012E00025642C20636F6E6669672073697A653A9E :1012E00025642C20636F6E6669672073697A653A9E
:1012F0002025640D0A0000004166726F33322043DE :1012F0002025640D0A0000004166726F33322043DE
:101300004C492076657273696F6E20322E3220460A :101300004C492076657273696F6E20322E3220460A
:1013100065622032302032303134202F2031363A8D :1013100065622032302032303134202F2031393A8A
:1013200031393A3230000000B10100200D0A456E1B :1013200035343A3136000000B10100200D0A456E17
:10133000746572696E6720434C49204D6F64652C5B :10133000746572696E6720434C49204D6F64652C5B
:1013400020747970652027657869742720746F2070 :1013400020747970652027657869742720746F2070
:1013500072657475726E2C206F72202768656C70D0 :1013500072657475726E2C206F72202768656C70D0
@ -1246,7 +1246,7 @@
:104DC000F2E0BEE043E02CE0E084FFF7E4FD85F88C :104DC000F2E0BEE043E02CE0E084FFF7E4FD85F88C
:104DD0003400FFF7E0FD85F83600FFF7DCFD85F8CD :104DD0003400FFF7E0FD85F83600FFF7DCFD85F8CD
:104DE0003500FFF7D8FD3EE70024FE4DFFF7DAFD62 :104DE0003500FFF7D8FD3EE70024FE4DFFF7DAFD62
:104DF00025F81400641C082CF8D328E700289DD15E :104DF00025F81400641C082CF8D334E700289DD152
:104E0000FFF7C9FD85F87803022801D985F8788372 :104E0000FFF7C9FD85F87803022801D985F8788372
:104E100000210020FCF74BFC25E7FFF7C3FDF2491A :104E100000210020FCF74BFC25E7FFF7C3FDF2491A
:104E200091E20720FFF7EAFDE620FFF7A8FD687989 :104E200091E20720FFF7EAFDE620FFF7A8FD687989

View File

@ -342,6 +342,7 @@ static void evaluateCommand(void)
case MSP_SET_MOTOR: case MSP_SET_MOTOR:
for (i = 0; i < 8; i++) for (i = 0; i < 8; i++)
motor_disarmed[i] = read16(); motor_disarmed[i] = read16();
headSerialReply(0);
break; break;
case MSP_SELECT_SETTING: case MSP_SELECT_SETTING:
if (!f.ARMED) { if (!f.ARMED) {