diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-04-21 12:19:07 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-04-21 12:19:07 +0200 |
commit | 1196fb03c7af68cfabf51d99b417ffd0a32e41d6 (patch) | |
tree | e3e39805ecaf907054c6d26639d639b2efe072ac /src | |
parent | f8232fa2698b37983f4c3f05926c9d6a7a107acf (diff) | |
parent | 1f2e972ea683a4d2f33af0e91308f6efed2465c9 (diff) | |
download | px4-firmware-1196fb03c7af68cfabf51d99b417ffd0a32e41d6.tar.gz px4-firmware-1196fb03c7af68cfabf51d99b417ffd0a32e41d6.tar.bz2 px4-firmware-1196fb03c7af68cfabf51d99b417ffd0a32e41d6.zip |
Merge pull request #844 from PX4/mavlink_batt_fix
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, |