limited battery voltage to two decimal points

This commit is contained in:
2022-12-28 14:58:47 +01:00
parent 35f1059562
commit 290fa03955
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ class Battery {
*
* @return double in Volt
*/
double getBatteryVoltage() {return this->batteryVoltage;}
double getBatteryVoltage();
/**
* @brief Get the charge level of the battery