paparazzi-commits
[Top][All Lists]
Advanced

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

[paparazzi-commits] [6347] added some macros to make it usable on fixedw


From: antoine drouin
Subject: [paparazzi-commits] [6347] added some macros to make it usable on fixedwing
Date: Thu, 04 Nov 2010 16:00:39 +0000

Revision: 6347
          http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=6347
Author:   poine
Date:     2010-11-04 16:00:38 +0000 (Thu, 04 Nov 2010)
Log Message:
-----------
added some macros to make it usable on fixedwing

Modified Paths:
--------------
    
paparazzi3/trunk/sw/airborne/firmwares/rotorcraft/actuators/arch/stm32/actuators_pwm_arch.h

Modified: 
paparazzi3/trunk/sw/airborne/firmwares/rotorcraft/actuators/arch/stm32/actuators_pwm_arch.h
===================================================================
--- 
paparazzi3/trunk/sw/airborne/firmwares/rotorcraft/actuators/arch/stm32/actuators_pwm_arch.h
 2010-11-04 15:59:50 UTC (rev 6346)
+++ 
paparazzi3/trunk/sw/airborne/firmwares/rotorcraft/actuators/arch/stm32/actuators_pwm_arch.h
 2010-11-04 16:00:38 UTC (rev 6347)
@@ -32,4 +32,8 @@
 extern void actuators_pwm_arch_init(void);
 extern void actuators_pwm_commit(void);
 
+#define ChopServo(x,a,b) Chop(x, a, b)
+#define Actuator(_x)  actuators_pwm_values[_x]
+#define SERVOS_TICS_OF_USEC(_v) (_v)
+
 #endif /* ACTUATORS_PWM_ARCH_H */




reply via email to

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