diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-06-03 13:37:31 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-06-03 13:37:31 +0200 |
commit | 325d5026bb6d36ab3557ab999f8db772f77ac7a1 (patch) | |
tree | 05d2ab06bb6de39c2190e5bd7e316e529884a58e /src | |
parent | 8f1c46be925b5c7e7e069e04c5fc84b62810100c (diff) | |
download | px4-firmware-325d5026bb6d36ab3557ab999f8db772f77ac7a1.tar.gz px4-firmware-325d5026bb6d36ab3557ab999f8db772f77ac7a1.tar.bz2 px4-firmware-325d5026bb6d36ab3557ab999f8db772f77ac7a1.zip |
Hotfix: Fix scaling for battery current
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 933478f56..fd41b723a 100644 --- a/src/modules/mavlink/mavlink_messages.cpp +++ b/src/modules/mavlink/mavlink_messages.cpp @@ -274,7 +274,7 @@ protected: status->onboard_control_sensors_health, status->load * 1000.0f, status->battery_voltage * 1000.0f, - status->battery_current * 1000.0f, + status->battery_current * 100.0f, status->battery_remaining * 100.0f, status->drop_rate_comm, status->errors_comm, |