paparazzi-commits
[Top][All Lists]
Advanced

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

[paparazzi-commits] [4192] add missing macros for int32 arrays


From: Pascal Brisset
Subject: [paparazzi-commits] [4192] add missing macros for int32 arrays
Date: Sat, 19 Sep 2009 18:25:23 +0000

Revision: 4192
          http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=4192
Author:   hecto
Date:     2009-09-19 18:25:22 +0000 (Sat, 19 Sep 2009)
Log Message:
-----------
 add missing macros for int32 arrays

Modified Paths:
--------------
    paparazzi3/trunk/sw/airborne/downlink.h
    paparazzi3/trunk/sw/airborne/pprz_transport.h
    paparazzi3/trunk/sw/airborne/sim/ivy_transport.h

Modified: paparazzi3/trunk/sw/airborne/downlink.h
===================================================================
--- paparazzi3/trunk/sw/airborne/downlink.h     2009-09-19 18:24:17 UTC (rev 
4191)
+++ paparazzi3/trunk/sw/airborne/downlink.h     2009-09-19 18:25:22 UTC (rev 
4192)
@@ -98,6 +98,8 @@
 #define DownlinkPutFloatArray(_chan, _n, _x) Transport(_chan, 
PutFloatArray(_n, _x))
 #define DownlinkPutInt16Array(_chan, _n, _x) Transport(_chan, 
PutInt16Array(_n, _x))
 #define DownlinkPutUint16Array(_chan, _n, _x) Transport(_chan, 
PutUint16Array(_n, _x))
+#define DownlinkPutInt32Array(_chan, _n, _x) Transport(_chan, 
PutInt32Array(_n, _x))
+#define DownlinkPutUint32Array(_chan, _n, _x) Transport(_chan, 
PutUint32Array(_n, _x))
 #define DownlinkPutUint8Array(_chan, _n, _x) Transport(_chan, 
PutUint8Array(_n, _x))
 
 #define DownlinkOverrun(_chan) downlink_nb_ovrn++;

Modified: paparazzi3/trunk/sw/airborne/pprz_transport.h
===================================================================
--- paparazzi3/trunk/sw/airborne/pprz_transport.h       2009-09-19 18:24:17 UTC 
(rev 4191)
+++ paparazzi3/trunk/sw/airborne/pprz_transport.h       2009-09-19 18:25:22 UTC 
(rev 4192)
@@ -112,9 +112,13 @@
 }
 
 #define PprzTransportPutFloatArray(_n, _x) 
PprzTransportPutArray(PprzTransportPutFloatByAddr, _n, _x)
+
 #define PprzTransportPutInt16Array(_n, _x) 
PprzTransportPutArray(PprzTransportPutInt16ByAddr, _n, _x)
+#define PprzTransportPutUint16Array(_n, _x) 
PprzTransportPutArray(PprzTransportPutUint16ByAddr, _n, _x)
 
-#define PprzTransportPutUint16Array(_n, _x) 
PprzTransportPutArray(PprzTransportPutUint16ByAddr, _n, _x)
+#define PprzTransportPutInt32Array(_n, _x) 
PprzTransportPutArray(PprzTransportPutInt32ByAddr, _n, _x)
+#define PprzTransportPutUint32Array(_n, _x) 
PprzTransportPutArray(PprzTransportPutUint32ByAddr, _n, _x)
+
 #define PprzTransportPutUint8Array(_n, _x) 
PprzTransportPutArray(PprzTransportPutUint8ByAddr, _n, _x)
 
 

Modified: paparazzi3/trunk/sw/airborne/sim/ivy_transport.h
===================================================================
--- paparazzi3/trunk/sw/airborne/sim/ivy_transport.h    2009-09-19 18:24:17 UTC 
(rev 4191)
+++ paparazzi3/trunk/sw/airborne/sim/ivy_transport.h    2009-09-19 18:25:22 UTC 
(rev 4192)
@@ -40,3 +40,4 @@
 #define IvyTransportPutUint8Array(_n, _x) 
IvyTransportPutArray(IvyTransportPutUintByAddr, _n, _x)
 #define IvyTransportPutInt16Array(_n, _x) 
IvyTransportPutArray(IvyTransportPutIntByAddr, _n, _x)
 #define IvyTransportPutUint16Array(_n, _x) 
IvyTransportPutArray(IvyTransportPutUintByAddr, _n, _x)
+#define IvyTransportPutUint32Array(_n, _x) 
IvyTransportPutArray(IvyTransportPutUintByAddr, _n, _x)





reply via email to

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