mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
remove broken configgpio call; tested OK on R14
This commit is contained in:
committed by
Julian Oes
parent
192c2a32c8
commit
c37cf7abd4
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user