diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2013-11-25 19:22:06 +0400 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2013-11-25 19:22:06 +0400 |
commit | 2a2c8337e8a01c59a542c8dd3dc77a087b34e3c2 (patch) | |
tree | cd12e930266b84e8e5fe793b99cfca8087770f71 /src | |
parent | 94a39359752065fa36c4c696d5c8c0e4911108fa (diff) | |
download | px4-firmware-2a2c8337e8a01c59a542c8dd3dc77a087b34e3c2.tar.gz px4-firmware-2a2c8337e8a01c59a542c8dd3dc77a087b34e3c2.tar.bz2 px4-firmware-2a2c8337e8a01c59a542c8dd3dc77a087b34e3c2.zip |
sensors: discharged current type changed to uint64
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/sensors/sensors.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/sensors/sensors.cpp b/src/modules/sensors/sensors.cpp index 8ac2114af..f205ff8f5 100644 --- a/src/modules/sensors/sensors.cpp +++ b/src/modules/sensors/sensors.cpp @@ -214,7 +214,7 @@ private: math::Matrix _external_mag_rotation; /**< rotation matrix for the orientation that an external mag is mounted */ bool _mag_is_external; /**< true if the active mag is on an external board */ - unsigned long _battery_discharged; /**< battery discharged current in mA*ms */ + uint64_t _battery_discharged; /**< battery discharged current in mA*ms */ hrt_abstime _battery_current_timestamp; /**< timestamp of last battery current reading */ struct { |