diff --git a/src/uas/UAS.h b/src/uas/UAS.h index 95570049a10f8ce94339c6106521d58834c2d161..74d15c017b68a07072627265eeca2a419f8512e0 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 */