[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [4997] fixed making RADIO_CONTROL_KILL_SWITCH option
From: |
antoine drouin |
Subject: |
[paparazzi-commits] [4997] fixed making RADIO_CONTROL_KILL_SWITCH optional |
Date: |
Mon, 21 Jun 2010 23:40:19 +0000 |
Revision: 4997
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=4997
Author: poine
Date: 2010-06-21 23:40:07 +0000 (Mon, 21 Jun 2010)
Log Message:
-----------
fixed making RADIO_CONTROL_KILL_SWITCH optional
Modified Paths:
--------------
paparazzi3/trunk/sw/airborne/booz/booz2_telemetry.h
Modified: paparazzi3/trunk/sw/airborne/booz/booz2_telemetry.h
===================================================================
--- paparazzi3/trunk/sw/airborne/booz/booz2_telemetry.h 2010-06-21 23:24:18 UTC
(rev 4996)
+++ paparazzi3/trunk/sw/airborne/booz/booz2_telemetry.h 2010-06-21 23:40:07 UTC
(rev 4997)
@@ -97,7 +97,7 @@
#ifdef USE_RADIO_CONTROL
#define PERIODIC_SEND_RC(_chan) DOWNLINK_SEND_RC(_chan,
RADIO_CONTROL_NB_CHANNEL, radio_control.values)
#if defined RADIO_CONTROL_KILL_SWITCH
-#define PERIODIC_SEND_BOOZ2_RADIO_CONTROL(_chan, _kill_switch)
SEND_BOOZ2_RADIO_CONTROL( _chan,
&radio_control.values[RADIO_CONTROL_KILL_SWITCH])
+#define PERIODIC_SEND_BOOZ2_RADIO_CONTROL(_chan) SEND_BOOZ2_RADIO_CONTROL(
_chan, &radio_control.values[RADIO_CONTROL_KILL_SWITCH])
#else /* ! RADIO_CONTROL_KILL_SWITCH */
#define PERIODIC_SEND_BOOZ2_RADIO_CONTROL(_chan) {
\
int16_t foo = -42;
\
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [4997] fixed making RADIO_CONTROL_KILL_SWITCH optional,
antoine drouin <=