diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-04-05 17:23:54 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-04-05 17:23:54 +0200 |
commit | c17201afbff06f2be278e202d23eb136f38d1ae1 (patch) | |
tree | eca8c8eac98c7b54553ed5081b3a78b36305b8f1 /src/modules/sdlog2/sdlog2.c | |
parent | 6319ec2036c52f39a6fded6480836fe79e3ba35f (diff) | |
download | px4-firmware-c17201afbff06f2be278e202d23eb136f38d1ae1.tar.gz px4-firmware-c17201afbff06f2be278e202d23eb136f38d1ae1.tar.bz2 px4-firmware-c17201afbff06f2be278e202d23eb136f38d1ae1.zip |
Log air temperature
Diffstat (limited to 'src/modules/sdlog2/sdlog2.c')
-rw-r--r-- | src/modules/sdlog2/sdlog2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/sdlog2/sdlog2.c b/src/modules/sdlog2/sdlog2.c index d2cf6d662..e62b0fafc 100644 --- a/src/modules/sdlog2/sdlog2.c +++ b/src/modules/sdlog2/sdlog2.c @@ -1193,6 +1193,7 @@ int sdlog2_thread_main(int argc, char *argv[]) log_msg.msg_type = LOG_AIRS_MSG; log_msg.body.log_AIRS.indicated_airspeed = buf.airspeed.indicated_airspeed_m_s; log_msg.body.log_AIRS.true_airspeed = buf.airspeed.true_airspeed_m_s; + log_msg.body.log_AIRS.air_temperature_celsius = buf.airspeed.air_temperature_celsius; LOGBUFFER_WRITE_AND_COUNT(AIRS); } |