mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 21:48:28 -04:00
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:
parent
6baaf03c8c
commit
0f49058fbd
@ -459,7 +459,8 @@ MSPCommandResult AP_MSP_Telem_Backend::msp_process_out_command(uint16_t cmd_msp,
|
|||||||
case MSP_RC:
|
case MSP_RC:
|
||||||
return msp_process_out_rc(dst);
|
return msp_process_out_rc(dst);
|
||||||
default:
|
default:
|
||||||
return MSP_RESULT_ERROR;
|
// MSP always requires an ACK even for unsupported messages
|
||||||
|
return MSP_RESULT_ACK;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user