[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [6108] Set len_r, not len_w when setting up to recei
From: |
Allen Ibara |
Subject: |
[paparazzi-commits] [6108] Set len_r, not len_w when setting up to receive in booz_hmc5843 |
Date: |
Fri, 08 Oct 2010 06:19:23 +0000 |
Revision: 6108
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=6108
Author: aibara
Date: 2010-10-08 06:19:23 +0000 (Fri, 08 Oct 2010)
Log Message:
-----------
Set len_r, not len_w when setting up to receive in booz_hmc5843
Modified Paths:
--------------
paparazzi3/trunk/sw/airborne/booz/peripherals/booz_hmc5843.c
Modified: paparazzi3/trunk/sw/airborne/booz/peripherals/booz_hmc5843.c
===================================================================
--- paparazzi3/trunk/sw/airborne/booz/peripherals/booz_hmc5843.c
2010-10-08 05:36:48 UTC (rev 6107)
+++ paparazzi3/trunk/sw/airborne/booz/peripherals/booz_hmc5843.c
2010-10-08 06:19:23 UTC (rev 6108)
@@ -12,6 +12,7 @@
hmc5843_i2c_trans.status = I2CTransSuccess;
hmc5843_i2c_trans.slave_addr = HMC5843_ADDR;
hmc5843_i2c_trans.stop_after_transmit = TRUE;
+
}
void hmc5843_periodic(void) {
@@ -45,7 +46,7 @@
break;
case HMC5843_IDLE:
hmc5843_i2c_trans.type = I2CTransRx;
- hmc5843_i2c_trans.len_w = 6;
+ hmc5843_i2c_trans.len_r = 7;
i2c_submit(&i2c2, &hmc5843_i2c_trans);
hmc5843.status = HMC5843_READING;
break;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [6108] Set len_r, not len_w when setting up to receive in booz_hmc5843,
Allen Ibara <=