fix comparison between int and double

This commit is contained in:
helgeerbe 2023-03-18 14:44:28 +01:00
parent 46ce6ad50f
commit c95468f972

View File

@ -199,7 +199,7 @@ bool PowerLimiterClass::canUseDirectSolarPower()
return false;
}
if (VeDirect.veFrame.PPV < 10.0) {
if (VeDirect.veFrame.PPV < 10) {
// Not enough power
return false;
}