diff --git a/sw/airborne/downlink.h b/sw/airborne/downlink.h index 26c0deeeaf..0cbe644b19 100644 --- a/sw/airborne/downlink.h +++ b/sw/airborne/downlink.h @@ -98,6 +98,8 @@ extern uint16_t downlink_nb_msgs; #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++; diff --git a/sw/airborne/pprz_transport.h b/sw/airborne/pprz_transport.h index 6d16cd593f..5c43f96cef 100644 --- a/sw/airborne/pprz_transport.h +++ b/sw/airborne/pprz_transport.h @@ -112,9 +112,13 @@ extern uint8_t ck_a, ck_b; } #define PprzTransportPutFloatArray(_n, _x) PprzTransportPutArray(PprzTransportPutFloatByAddr, _n, _x) -#define PprzTransportPutInt16Array(_n, _x) PprzTransportPutArray(PprzTransportPutInt16ByAddr, _n, _x) +#define PprzTransportPutInt16Array(_n, _x) PprzTransportPutArray(PprzTransportPutInt16ByAddr, _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) diff --git a/sw/airborne/sim/ivy_transport.h b/sw/airborne/sim/ivy_transport.h index 78c5e606eb..37323b822c 100644 --- a/sw/airborne/sim/ivy_transport.h +++ b/sw/airborne/sim/ivy_transport.h @@ -40,3 +40,4 @@ extern char* ivy_p; #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)