From c87fa43b68fb8f1fddb0c0460bb9e3d8145c2d9c Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Fri, 26 Feb 2016 16:43:07 +0000 Subject: [PATCH] sensors: removed unused variable --- src/modules/sensors/sensors.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/modules/sensors/sensors.cpp b/src/modules/sensors/sensors.cpp index ce7b2d989e..73ae827681 100644 --- a/src/modules/sensors/sensors.cpp +++ b/src/modules/sensors/sensors.cpp @@ -252,7 +252,6 @@ private: math::Matrix<3, 3> _board_rotation; /**< rotation matrix for the orientation that the board is mounted */ math::Matrix<3, 3> _mag_rotation[3]; /**< rotation matrix for the orientation that the external mag0 is mounted */ - uint64_t _battery_discharged; /**< battery discharged current in mA*ms */ hrt_abstime _battery_current_timestamp; /**< timestamp of last battery current reading */ Battery _battery; /**< Helper lib to publish battery_status topic. */ @@ -557,7 +556,6 @@ Sensors::Sensors() : _board_rotation{}, _mag_rotation{}, - _battery_discharged(0), _battery_current_timestamp(0) { /* initialize subscriptions */