refactor - change constants

This commit is contained in:
2023-01-18 10:33:47 +01:00
parent 801a474b49
commit 97495338d7
9 changed files with 11 additions and 11 deletions
+1
View File
@@ -55,6 +55,7 @@ void Battery::calculateBatteryPercent() {
if (this->batteryVoltage <= this->capacityVoltages[i])
break;
}
if (i == 0) {
if (this->batteryVoltage > 6)
std::cout << "Critical low battery!" << std::endl;