AP_MSP: fix for missing ACK on unsupported MSP messages

MSP requires all messages to be acknowledged even if unsupported
This commit is contained in:
yaapu 2021-01-10 17:43:24 +01:00 committed by Andrew Tridgell
parent 6baaf03c8c
commit 0f49058fbd

View File

@ -459,7 +459,8 @@ MSPCommandResult AP_MSP_Telem_Backend::msp_process_out_command(uint16_t cmd_msp,
case MSP_RC:
return msp_process_out_rc(dst);
default:
return MSP_RESULT_ERROR;
// MSP always requires an ACK even for unsupported messages
return MSP_RESULT_ACK;
}
}