From 2159198c3e7318eb452160c4194e066c8705567c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 3 Nov 2018 16:57:22 +1100 Subject: [PATCH] AP_IOMCU: allow DSM input as pulses in iomcu useful for receivers where DSM uses a normal servo plug --- libraries/AP_IOMCU/iofirmware/rc.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libraries/AP_IOMCU/iofirmware/rc.cpp b/libraries/AP_IOMCU/iofirmware/rc.cpp index 17b1be6f5e..aa11d83983 100644 --- a/libraries/AP_IOMCU/iofirmware/rc.cpp +++ b/libraries/AP_IOMCU/iofirmware/rc.cpp @@ -68,13 +68,10 @@ void AP_IOMCU_FW::rcin_serial_init(void) SD_PARITY_ERROR); rcprotocol = AP_RCProtocol::get_instance(); - // disable input for DSM and SBUS with pulses, we will use uarts - // for those. This allows us to use the RCIN port for a much wider - // range of protocols, relying on the 16 bit CRC on those - // protocols to keep them glitch free + // disable input for SBUS with pulses, we will use the UART for + // SBUS. rcprotocol->disable_for_pulses(AP_RCProtocol::SBUS); rcprotocol->disable_for_pulses(AP_RCProtocol::SBUS_NI); - rcprotocol->disable_for_pulses(AP_RCProtocol::DSM); } static struct {