From c37cf7abd404988bea81c7049dae427f74e2d0c6 Mon Sep 17 00:00:00 2001 From: Mark Whitehorn Date: Sun, 20 Mar 2016 10:16:09 -0600 Subject: [PATCH] remove broken configgpio call; tested OK on R14 --- src/drivers/px4fmu/fmu.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/drivers/px4fmu/fmu.cpp b/src/drivers/px4fmu/fmu.cpp index 7f77a0450d..4e18fde300 100644 --- a/src/drivers/px4fmu/fmu.cpp +++ b/src/drivers/px4fmu/fmu.cpp @@ -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); }