diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-06-16 17:34:21 +0200 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-06-16 17:34:21 +0200 |
commit | e0ed0625f81841194b4bd9b26c7e047a1f68a1fc (patch) | |
tree | 3c67d0fb275441ba3f8856f81e4803664b2cbac3 /src/modules/sdlog2 | |
parent | 91f0b9eee41a8446c0a5ec455fbe3853c5c3eee3 (diff) | |
download | px4-firmware-e0ed0625f81841194b4bd9b26c7e047a1f68a1fc.tar.gz px4-firmware-e0ed0625f81841194b4bd9b26c7e047a1f68a1fc.tar.bz2 px4-firmware-e0ed0625f81841194b4bd9b26c7e047a1f68a1fc.zip |
commander: failsafe_state removed, replaced with bool failsafe, navigation state and failsafe determined directly from main state and conditions
Diffstat (limited to 'src/modules/sdlog2')
-rw-r--r-- | src/modules/sdlog2/sdlog2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/sdlog2/sdlog2.c b/src/modules/sdlog2/sdlog2.c index 53cd6a797..19872bbd0 100644 --- a/src/modules/sdlog2/sdlog2.c +++ b/src/modules/sdlog2/sdlog2.c @@ -1117,7 +1117,7 @@ int sdlog2_thread_main(int argc, char *argv[]) log_msg.msg_type = LOG_STAT_MSG; log_msg.body.log_STAT.main_state = (uint8_t) buf_status.main_state; log_msg.body.log_STAT.arming_state = (uint8_t) buf_status.arming_state; - log_msg.body.log_STAT.failsafe_state = (uint8_t) buf_status.failsafe_state; + log_msg.body.log_STAT.failsafe_state = (uint8_t) buf_status.failsafe; log_msg.body.log_STAT.battery_remaining = buf_status.battery_remaining; log_msg.body.log_STAT.battery_warning = (uint8_t) buf_status.battery_warning; log_msg.body.log_STAT.landed = (uint8_t) buf_status.condition_landed; |