[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [6292] PPM_NB_CHANNEL was not defined for stm32
From: |
Gautier Hattenberger |
Subject: |
[paparazzi-commits] [6292] PPM_NB_CHANNEL was not defined for stm32 |
Date: |
Thu, 28 Oct 2010 08:06:18 +0000 |
Revision: 6292
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=6292
Author: gautier
Date: 2010-10-28 08:06:18 +0000 (Thu, 28 Oct 2010)
Log Message:
-----------
PPM_NB_CHANNEL was not defined for stm32
Modified Paths:
--------------
paparazzi3/trunk/sw/airborne/arch/stm32/subsystems/radio_control/ppm_arch.h
Modified:
paparazzi3/trunk/sw/airborne/arch/stm32/subsystems/radio_control/ppm_arch.h
===================================================================
--- paparazzi3/trunk/sw/airborne/arch/stm32/subsystems/radio_control/ppm_arch.h
2010-10-27 23:41:04 UTC (rev 6291)
+++ paparazzi3/trunk/sw/airborne/arch/stm32/subsystems/radio_control/ppm_arch.h
2010-10-28 08:06:18 UTC (rev 6292)
@@ -26,6 +26,9 @@
*
*/
+#ifndef PPM_ARCH_H
+#define PPM_ARCH_H
+
/**
* On tiny (and booz) the ppm counter is running at the same speed as
* the systic counter. There is no reason for this to be true.
@@ -34,3 +37,7 @@
*/
#define RC_PPM_TICS_OF_USEC(_v) SYS_TICS_OF_USEC((_v)/9)
#define RC_PPM_SIGNED_TICS_OF_USEC(_v) SIGNED_SYS_TICS_OF_USEC((_v)/9)
+
+#define PPM_NB_CHANNEL RADIO_CONTROL_NB_CHANNEL
+
+#endif /* PPM_ARCH_H */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [6292] PPM_NB_CHANNEL was not defined for stm32,
Gautier Hattenberger <=