diff options
| author | Keith Packard <keithp@keithp.com> | 2017-06-11 22:34:11 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2017-06-11 22:54:22 -0700 | 
| commit | 2a05849c3bf8c1617409237be48802dd6fc6255b (patch) | |
| tree | a8b5d2273f9f15a6dcbd5637a1a8707588856931 /src/kernel/ao_telemetry.c | |
| parent | fed48732828c85ae56106cd72c5aeaaad47c552f (diff) | |
altos: HMC5883 output order is X Z Y
Re-label everything to have the correct names. This doesn't actually
change the code at all, so the eeprom and telemetry is all compatible.
Matching changes on the host side will be required to actually process
the data correctly, of course.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/kernel/ao_telemetry.c')
| -rw-r--r-- | src/kernel/ao_telemetry.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/kernel/ao_telemetry.c b/src/kernel/ao_telemetry.c index a4c73a86..2ae1e41b 100644 --- a/src/kernel/ao_telemetry.c +++ b/src/kernel/ao_telemetry.c @@ -160,8 +160,8 @@ ao_send_mega_sensor(void)  #if HAS_HMC5883  	telemetry.mega_sensor.mag_x = packet->hmc5883.x; -	telemetry.mega_sensor.mag_y = packet->hmc5883.y;  	telemetry.mega_sensor.mag_z = packet->hmc5883.z; +	telemetry.mega_sensor.mag_y = packet->hmc5883.y;  #endif  	ao_telemetry_send(); | 
