1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +01:00

Fixup: Disable binding on mainport for DSM

This commit is contained in:
James Cotton 2012-09-01 11:11:28 -05:00
parent f3327e3993
commit 0d3b0d4e5b

View File

@ -484,6 +484,10 @@ void PIOS_Board_Init(void) {
PIOS_Assert(0);
break;
}
// Force binding to zero on the main port
hwsettings_DSMxBind = 0;
//TODO: Define the various Channelgroup for Revo dsm inputs and handle here
PIOS_Board_configure_dsm(&pios_usart_dsm_main_cfg, &pios_dsm_main_cfg,
&pios_usart_com_driver, &proto, MANUALCONTROLSETTINGS_CHANNELGROUPS_DSMMAINPORT,&hwsettings_DSMxBind);