remove broken configgpio call; tested OK on R14

This commit is contained in:
Mark Whitehorn
2016-03-20 10:16:09 -06:00
committed by Julian Oes
parent 192c2a32c8
commit c37cf7abd4

View File

@@ -902,7 +902,6 @@ PX4FMU::cycle()
sbus_config(_rcs_fd, false);
// disable CPPM input by mapping it away from the timer capture input
stm32_unconfiggpio(GPIO_PPM_IN);
stm32_configgpio(GPIO_PPM_IN & ~(GPIO_AF_MASK | GPIO_PUPD_MASK));
#endif
_initialized = true;
@@ -1333,7 +1332,6 @@ PX4FMU::cycle()
} else {
// disable CPPM input by mapping it away from the timer capture input
stm32_unconfiggpio(GPIO_PPM_IN);
stm32_configgpio(GPIO_PPM_IN & ~(GPIO_AF_MASK | GPIO_PUPD_MASK));
// Scan the next protocol
set_rc_scan_state(RC_SCAN_SBUS);
}