AP_MSP: add and use RC_Channel_config.h

This commit is contained in:
Peter Barker 2023-03-19 21:15:17 +11:00 committed by Peter Barker
parent ea26154088
commit 48d6b34969
1 changed files with 2 additions and 0 deletions

View File

@ -1015,6 +1015,7 @@ MSPCommandResult AP_MSP_Telem_Backend::msp_process_out_rtc(sbuf_t *dst)
return MSP_RESULT_ACK; return MSP_RESULT_ACK;
} }
#if AP_RC_CHANNEL_ENABLED
MSPCommandResult AP_MSP_Telem_Backend::msp_process_out_rc(sbuf_t *dst) MSPCommandResult AP_MSP_Telem_Backend::msp_process_out_rc(sbuf_t *dst)
{ {
const RCMapper* rcmap = AP::rcmap(); const RCMapper* rcmap = AP::rcmap();
@ -1041,6 +1042,7 @@ MSPCommandResult AP_MSP_Telem_Backend::msp_process_out_rc(sbuf_t *dst)
sbuf_write_data(dst, &rc, sizeof(rc)); sbuf_write_data(dst, &rc, sizeof(rc));
return MSP_RESULT_ACK; return MSP_RESULT_ACK;
} }
#endif // AP_RC_CHANNEL_ENABLED
MSPCommandResult AP_MSP_Telem_Backend::msp_process_out_board_info(sbuf_t *dst) MSPCommandResult AP_MSP_Telem_Backend::msp_process_out_board_info(sbuf_t *dst)
{ {