[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [6146] Radio Control Define Bug: insufficient bracke
From: |
Christophe De Wagter |
Subject: |
[paparazzi-commits] [6146] Radio Control Define Bug: insufficient brackets: 1900-1100 / 9 -> ( 1900-1100) / 9 |
Date: |
Tue, 12 Oct 2010 06:12:09 +0000 |
Revision: 6146
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=6146
Author: dewagter
Date: 2010-10-12 06:12:09 +0000 (Tue, 12 Oct 2010)
Log Message:
-----------
Radio Control Define Bug: insufficient brackets: 1900-1100 / 9 -> (1900-1100) /
9
Modified Paths:
--------------
paparazzi3/trunk/sw/airborne/booz/arch/stm32/radio_control/booz_radio_control_ppm_arch.h
Modified:
paparazzi3/trunk/sw/airborne/booz/arch/stm32/radio_control/booz_radio_control_ppm_arch.h
===================================================================
---
paparazzi3/trunk/sw/airborne/booz/arch/stm32/radio_control/booz_radio_control_ppm_arch.h
2010-10-11 21:42:47 UTC (rev 6145)
+++
paparazzi3/trunk/sw/airborne/booz/arch/stm32/radio_control/booz_radio_control_ppm_arch.h
2010-10-12 06:12:09 UTC (rev 6146)
@@ -32,5 +32,5 @@
* Let's add a pair of macros to make it possible for them to be different.
*
*/
-#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 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [6146] Radio Control Define Bug: insufficient brackets: 1900-1100 / 9 -> ( 1900-1100) / 9,
Christophe De Wagter <=