From befaccefd92abd839150b6a735f803cf52eb3ad2 Mon Sep 17 00:00:00 2001 From: tstellanova Date: Sun, 21 Jul 2013 01:52:43 -0700 Subject: [PATCH] fix bogus type conversion --- src/uas/UAS.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uas/UAS.h b/src/uas/UAS.h index 95570049a..74d15c017 100644 --- a/src/uas/UAS.h +++ b/src/uas/UAS.h @@ -56,8 +56,8 @@ public: UAS(MAVLinkProtocol* protocol, int id = 0); ~UAS(); - static const int lipoFull = 4.2f; ///< 100% charged voltage - static const int lipoEmpty = 3.5f; ///< Discharged voltage + static const float lipoFull = 4.2f; ///< 100% charged voltage + static const float lipoEmpty = 3.5f; ///< Discharged voltage /* MANAGEMENT */ -- 2.22.0