mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 07:23:35 +08:00
Adjust the duration of the BIND pulse
Some DSMX Remote Receiver can't enter BIND mode with the duration about 25us but 120us.
This commit is contained in:
@@ -292,9 +292,9 @@ dsm_bind(uint16_t cmd, int pulses)
|
||||
|
||||
/*Pulse RX pin a number of times*/
|
||||
for (int i = 0; i < pulses; i++) {
|
||||
up_udelay(25);
|
||||
up_udelay(120);
|
||||
stm32_gpiowrite(usart1RxAsOutp, false);
|
||||
up_udelay(25);
|
||||
up_udelay(120);
|
||||
stm32_gpiowrite(usart1RxAsOutp, true);
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user