paparazzi-commits
[Top][All Lists]
Advanced

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

[paparazzi-commits] [5724] allowed reversing of channel directions using


From: Eric
Subject: [paparazzi-commits] [5724] allowed reversing of channel directions using a target define
Date: Fri, 27 Aug 2010 13:48:05 +0000

Revision: 5724
          http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=5724
Author:   lamestllama
Date:     2010-08-27 13:48:05 +0000 (Fri, 27 Aug 2010)
Log Message:
-----------
allowed reversing of channel  directions using a target define

Modified Paths:
--------------
    
paparazzi3/trunk/sw/airborne/booz/arch/stm32/radio_control/booz_radio_control_spektrum_arch.h

Modified: 
paparazzi3/trunk/sw/airborne/booz/arch/stm32/radio_control/booz_radio_control_spektrum_arch.h
===================================================================
--- 
paparazzi3/trunk/sw/airborne/booz/arch/stm32/radio_control/booz_radio_control_spektrum_arch.h
       2010-08-27 13:47:52 UTC (rev 5723)
+++ 
paparazzi3/trunk/sw/airborne/booz/arch/stm32/radio_control/booz_radio_control_spektrum_arch.h
       2010-08-27 13:48:05 UTC (rev 5724)
@@ -32,7 +32,14 @@
  * All Spektrum and JR 2.4 GHz transmitters
  * have the same channel assignments.
  */ 
+ 
+/* reverse some channels to suit Paparazzi conventions          */
+/* the maximum number of channels a Spektrum can transmit is 12 */
+#ifndef RADIO_CONTROL_SPEKTRUM_SIGNS 
+#define RADIO_CONTROL_SPEKTRUM_SIGNS {1,1,-1,1,1,-1,1,1,1,1,1,1}
+#endif
 
+
 #ifndef RADIO_CONTROL_NB_CHANNEL 
 #define RADIO_CONTROL_NB_CHANNEL 12
 #endif 
@@ -64,5 +71,6 @@
 
 
 
+
 extern void RadioControlEventImp(void (*_received_frame_handler)(void));
 #endif /* BOOZ_RADIO_CONTROL_SPEKTRUM_ARCH_H */




reply via email to

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