mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-04-10 07:25:49 +00:00
Fixed code error
This commit is contained in:
@@ -665,7 +665,7 @@ bool HwTools::isVoltageOptimal(float range) {
|
||||
}
|
||||
if(vcc > 3.4 || vcc < 2.8) {
|
||||
maxVcc = 0;
|
||||
return true // Voltage is outside the operating range, we have to assume voltage is OK
|
||||
return true; // Voltage is outside the operating range, we have to assume voltage is OK
|
||||
} else if(vcc > maxVcc) {
|
||||
maxVcc = vcc;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user