[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [5859] fixed types of mag downlinked variables
From: |
antoine drouin |
Subject: |
[paparazzi-commits] [5859] fixed types of mag downlinked variables |
Date: |
Tue, 14 Sep 2010 15:10:40 +0000 |
Revision: 5859
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=5859
Author: poine
Date: 2010-09-14 15:10:40 +0000 (Tue, 14 Sep 2010)
Log Message:
-----------
fixed types of mag downlinked variables
Modified Paths:
--------------
paparazzi3/trunk/sw/airborne/test/peripherals/test_ami601.c
Modified: paparazzi3/trunk/sw/airborne/test/peripherals/test_ami601.c
===================================================================
--- paparazzi3/trunk/sw/airborne/test/peripherals/test_ami601.c 2010-09-14
15:00:31 UTC (rev 5858)
+++ paparazzi3/trunk/sw/airborne/test/peripherals/test_ami601.c 2010-09-14
15:10:40 UTC (rev 5859)
@@ -33,6 +33,7 @@
#include "i2c.h"
#include "booz/peripherals/booz_ami601.h"
+#include "math/pprz_algebra_int.h"
#include "interrupt_hw.h"
@@ -76,9 +77,7 @@
static inline void on_mag(void) {
LED_TOGGLE(4);
ami601_status = AMI601_IDLE;
- DOWNLINK_SEND_IMU_MAG_RAW(DefaultChannel,
- &ami601_values[0],
- &ami601_values[1],
- &ami601_values[2]);
+ struct Int32Vect3 bla = {ami601_values[0], ami601_values[1],
ami601_values[2]};
+ DOWNLINK_SEND_IMU_MAG_RAW(DefaultChannel, &bla.x, &bla.y, &bla.z);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [5859] fixed types of mag downlinked variables,
antoine drouin <=