Skip to content

Commit

Permalink
Merge pull request #259 from schugabe/mspservomixer
Browse files Browse the repository at this point in the history
changes MSP_SET_SERVOMIX_CONF
  • Loading branch information
trollcop committed Mar 17, 2015
2 parents 7aa0936 + cf67e69 commit 332a7dc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,7 @@ static void evaluateCommand(void)
break;
case MSP_SET_SERVOMIX_CONF:
headSerialReply(0);
i = read8();
if (i < MAX_SERVO_RULES) {
for (i = 0; i < MAX_SERVO_RULES; i++) {
mcfg.customServoMixer[i].targetChannel = read8();
mcfg.customServoMixer[i].fromChannel = read8();
mcfg.customServoMixer[i].rate = read8();
Expand Down

0 comments on commit 332a7dc

Please sign in to comment.