[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [5573] changed bind so lisa emulates JR-R92124 recei
From: |
Eric |
Subject: |
[paparazzi-commits] [5573] changed bind so lisa emulates JR-R92124 receiver |
Date: |
Sun, 22 Aug 2010 18:22:08 +0000 |
Revision: 5573
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=5573
Author: lamestllama
Date: 2010-08-22 18:22:08 +0000 (Sun, 22 Aug 2010)
Log Message:
-----------
changed bind so lisa emulates JR-R92124 receiver
Modified Paths:
--------------
paparazzi3/trunk/sw/airborne/booz/arch/stm32/radio_control/booz_radio_control_spektrum_arch.c
Modified:
paparazzi3/trunk/sw/airborne/booz/arch/stm32/radio_control/booz_radio_control_spektrum_arch.c
===================================================================
---
paparazzi3/trunk/sw/airborne/booz/arch/stm32/radio_control/booz_radio_control_spektrum_arch.c
2010-08-22 18:14:54 UTC (rev 5572)
+++
paparazzi3/trunk/sw/airborne/booz/arch/stm32/radio_control/booz_radio_control_spektrum_arch.c
2010-08-22 18:22:08 UTC (rev 5573)
@@ -47,8 +47,8 @@
/* the frequency of the delay timer */
#define DELAY_TIM_FREQUENCY 1000000
/* Number of low pulses sent to satellite receivers */
-#define MASTER_RECEIVER_PULSES 3
-#define SLAVE_RECEIVER_PULSES 4
+#define MASTER_RECEIVER_PULSES 5
+#define SLAVE_RECEIVER_PULSES 6
/* The line that is pulled low at power up to initiate the bind process */
#define BIND_PIN GPIO_Pin_3
@@ -76,7 +76,6 @@
#define _SlaveRcLink(dev, _x) __SlaveRcLink(dev, _x)
#define SlaveRcLink(_x) _SlaveRcLink(RADIO_CONTROL_LINK_SLAVE, _x)
-
/*
* bind() init must called on powerup as the spektrum
* satellites can only bind immediately after power up
@@ -122,7 +121,7 @@
/* We have no idea how long the window for allowing binding after
power up is .This works for the moment but will need revisiting */
- delay_ms(73);
+ delay_ms(61);
for (int i = 0; i < MASTER_RECEIVER_PULSES ; i++)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [5573] changed bind so lisa emulates JR-R92124 receiver,
Eric <=