fix comparison between int and double
This commit is contained in:
parent
46ce6ad50f
commit
c95468f972
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user