diff options
author | Sebastian Reichel <sre@ring0.de> | 2012-10-14 05:51:55 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2012-10-14 05:51:55 +0200 |
commit | 271cf418418278f23976e2c009f792500d7fa597 (patch) | |
tree | 655708457678ffcec2f2a127a825725d4c58ca76 /main.vala | |
parent | 752952a611c5d8dad1dea6f272621292b1f79b13 (diff) | |
download | microcopterd-271cf418418278f23976e2c009f792500d7fa597.tar.bz2 |
fix ADXL345 driver
Diffstat (limited to 'main.vala')
-rw-r--r-- | main.vala | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -27,8 +27,8 @@ Kinematics kinematics; bool loop() { try { /* get sensor data */ - int16 gx, gy, gz; - uint16 ax, ay, az, mx, my, mz; + int16 gx, gy, gz, ax, ay, az; + uint16 mx, my, mz; gyroscope.get_data(out gx, out gy, out gz); accelerometer.get_data(out ax, out ay, out az); compass.get_data(out mx, out my, out mz); |