diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-04-21 12:16:45 +0200 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-04-21 12:16:45 +0200 |
commit | 1f2e972ea683a4d2f33af0e91308f6efed2465c9 (patch) | |
tree | e3e39805ecaf907054c6d26639d639b2efe072ac /src | |
parent | f8232fa2698b37983f4c3f05926c9d6a7a107acf (diff) | |
download | px4-firmware-1f2e972ea683a4d2f33af0e91308f6efed2465c9.tar.gz px4-firmware-1f2e972ea683a4d2f33af0e91308f6efed2465c9.tar.bz2 px4-firmware-1f2e972ea683a4d2f33af0e91308f6efed2465c9.zip |
mavlink: remaining battery scaling fixed
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/mavlink/mavlink_messages.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/mavlink/mavlink_messages.cpp b/src/modules/mavlink/mavlink_messages.cpp index 58af1fcb6..678ce1645 100644 --- a/src/modules/mavlink/mavlink_messages.cpp +++ b/src/modules/mavlink/mavlink_messages.cpp @@ -271,7 +271,7 @@ protected: status->load * 1000.0f, status->battery_voltage * 1000.0f, status->battery_current * 1000.0f, - status->battery_remaining, + status->battery_remaining * 100.0f, status->drop_rate_comm, status->errors_comm, status->errors_count1, |