1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-25 17:25:18 +03:00

Add MSPv2 DONT_REPLY flag

This commit is contained in:
Konstantin Sharlaimov (DigitalEntity) 2018-02-13 22:06:44 +10:00
parent a62a33f11d
commit 5ecd069173
2 changed files with 10 additions and 0 deletions

View file

@ -2396,6 +2396,12 @@ mspResult_e mspFcProcessCommand(mspPacket_t *cmd, mspPacket_t *reply, mspPostPro
} else {
ret = mspFcProcessInCommand(cmdMSP, src);
}
// Process DONT_REPLY flag
if (cmd->flags & MSP_FLAG_DONT_REPLY) {
ret = MSP_RESULT_NO_REPLY;
}
reply->result = ret;
return ret;
}