paparazzi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paparazzi-commits] [5431] Add RADIO_CONTROL_BIND_IMPL_FUNC define, an


From: Allen Ibara
Subject: [paparazzi-commits] [5431] Add RADIO_CONTROL_BIND_IMPL_FUNC define, and make binding optional so that radio_control_joby works again
Date: Tue, 17 Aug 2010 21:11:45 +0000

Revision: 5431
          http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=5431
Author:   aibara
Date:     2010-08-17 21:11:44 +0000 (Tue, 17 Aug 2010)
Log Message:
-----------
Add RADIO_CONTROL_BIND_IMPL_FUNC define, and make binding optional so that 
radio_control_joby works again

Modified Paths:
--------------
    
paparazzi3/trunk/conf/autopilot/subsystems/lisa_passthrough/radio_control_spektrum.makefile
    paparazzi3/trunk/sw/airborne/stm32/init_hw.h

Modified: 
paparazzi3/trunk/conf/autopilot/subsystems/lisa_passthrough/radio_control_spektrum.makefile
===================================================================
--- 
paparazzi3/trunk/conf/autopilot/subsystems/lisa_passthrough/radio_control_spektrum.makefile
 2010-08-17 20:24:40 UTC (rev 5430)
+++ 
paparazzi3/trunk/conf/autopilot/subsystems/lisa_passthrough/radio_control_spektrum.makefile
 2010-08-17 21:11:44 UTC (rev 5431)
@@ -5,7 +5,7 @@
 
RADIO_CONTROL_SPEKTRUM_MODEL=\"booz/radio_control/booz_radio_control_spektrum_dx7se.h\"
 endif
 
-stm_passthrough.CFLAGS += -DUSE_RADIO_CONTROL
+stm_passthrough.CFLAGS += -DUSE_RADIO_CONTROL 
-DRADIO_CONTROL_BIND_IMPL_FUNC=radio_control_spektrum_try_bind
 stm_passthrough.CFLAGS += 
-DRADIO_CONTROL_TYPE_H=\"booz/radio_control/booz_radio_control_spektrum.h\"
 stm_passthrough.CFLAGS += 
-DRADIO_CONTROL_SPEKTRUM_MODEL_H=$(RADIO_CONTROL_SPEKTRUM_MODEL)
 stm_passthrough.srcs += $(SRC_BOOZ)/booz_radio_control.c \

Modified: paparazzi3/trunk/sw/airborne/stm32/init_hw.h
===================================================================
--- paparazzi3/trunk/sw/airborne/stm32/init_hw.h        2010-08-17 20:24:40 UTC 
(rev 5430)
+++ paparazzi3/trunk/sw/airborne/stm32/init_hw.h        2010-08-17 21:11:44 UTC 
(rev 5431)
@@ -123,8 +123,8 @@
   led_init();
 #endif
   /* for now this means using spektrum */
-#if defined USE_RADIO_CONTROL & defined RADIO_CONTROL_LINK
-  radio_control_spektrum_try_bind();
+#if defined USE_RADIO_CONTROL & defined RADIO_CONTROL_LINK & defined 
RADIO_CONTROL_BIND_IMPL_FUNC
+  RADIO_CONTROL_BIND_IMPL_FUNC();
 #endif
 #ifdef USE_UART1
   uart1_init();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]