aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2015-03-25 22:58:00 -0700
committerLorenz Meier <lm@inf.ethz.ch>2015-03-25 22:58:00 -0700
commit0b26671d62d090eb46854eb251d2bf8c82bfb8e0 (patch)
tree2e5c6fb1b825df87fb16e110540bc315493976b4
parent953cef9a9ec84cd54633362c3fb241144688544f (diff)
downloadpx4-firmware-0b26671d62d090eb46854eb251d2bf8c82bfb8e0.tar.gz
px4-firmware-0b26671d62d090eb46854eb251d2bf8c82bfb8e0.tar.bz2
px4-firmware-0b26671d62d090eb46854eb251d2bf8c82bfb8e0.zip
Mag drivers: Temp support
-rw-r--r--src/drivers/drv_mag.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/drv_mag.h b/src/drivers/drv_mag.h
index 7fcff9d38..ca33966b0 100644
--- a/src/drivers/drv_mag.h
+++ b/src/drivers/drv_mag.h
@@ -63,6 +63,7 @@ struct mag_report {
float z;
float range_ga;
float scaling;
+ float temperature;
int16_t x_raw;
int16_t y_raw;