diff options
author | Helen Oleynikova <helenoleynikova@gmail.com> | 2014-04-09 17:21:07 +0200 |
---|---|---|
committer | Helen Oleynikova <helenoleynikova@gmail.com> | 2014-04-09 17:21:07 +0200 |
commit | 284218174cad1817b5dc542ecb1527f6ec58bb2d (patch) | |
tree | 4552e273cd59e3247864d8ffa9025d78d6c4f213 /src/modules/sdlog2/sdlog2.c | |
parent | 863cd2e838a5e30efd817520c3fceb3847dd18f6 (diff) | |
download | px4-firmware-284218174cad1817b5dc542ecb1527f6ec58bb2d.tar.gz px4-firmware-284218174cad1817b5dc542ecb1527f6ec58bb2d.tar.bz2 px4-firmware-284218174cad1817b5dc542ecb1527f6ec58bb2d.zip |
Tabs tabs tabs
Diffstat (limited to 'src/modules/sdlog2/sdlog2.c')
-rw-r--r-- | src/modules/sdlog2/sdlog2.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/modules/sdlog2/sdlog2.c b/src/modules/sdlog2/sdlog2.c index 83ee93408..8dfe17228 100644 --- a/src/modules/sdlog2/sdlog2.c +++ b/src/modules/sdlog2/sdlog2.c @@ -1164,14 +1164,14 @@ int sdlog2_thread_main(int argc, char *argv[]) /* --- VICON POSITION --- */ if (copy_if_updated(ORB_ID(vehicle_vicon_position), subs.vicon_pos_sub, &buf.vicon_pos)) { - log_msg.msg_type = LOG_VICON_MSG; - log_msg.body.log_VICON.x = buf.vicon_pos.x; - log_msg.body.log_VICON.y = buf.vicon_pos.y; - log_msg.body.log_VICON.z = buf.vicon_pos.z; - log_msg.body.log_VICON.pitch = buf.vicon_pos.pitch; - log_msg.body.log_VICON.roll = buf.vicon_pos.roll; - log_msg.body.log_VICON.yaw = buf.vicon_pos.yaw; - LOGBUFFER_WRITE_AND_COUNT(VICON); + log_msg.msg_type = LOG_VICON_MSG; + log_msg.body.log_VICON.x = buf.vicon_pos.x; + log_msg.body.log_VICON.y = buf.vicon_pos.y; + log_msg.body.log_VICON.z = buf.vicon_pos.z; + log_msg.body.log_VICON.pitch = buf.vicon_pos.pitch; + log_msg.body.log_VICON.roll = buf.vicon_pos.roll; + log_msg.body.log_VICON.yaw = buf.vicon_pos.yaw; + LOGBUFFER_WRITE_AND_COUNT(VICON); } /* --- FLOW --- */ |