update Venus gui
This commit is contained in:
parent
959af2bf5e
commit
2bc09112ae
|
@ -130,6 +130,11 @@ MbPage {
|
|||
isCalibrationActive = true;
|
||||
} else if (controllerState.value === 3 && isCalibrationActive) {
|
||||
console.log("Stopping manual calibration charge...");
|
||||
lastEoc.setValue(previousEocValue);
|
||||
console.log("Reverted lastEoc to previous value: " + previousEocValue);
|
||||
isCalibrationActive = false;
|
||||
} else if (controllerState.value === 3 && !isCalibrationActive) {
|
||||
console.log("Stopping automatic calibration charge...");
|
||||
if(previousEocValue==0){
|
||||
console.log("Postpone automatic calibration charge to 1 day later.");
|
||||
lastEoc.setValue((new Date().getTime() - 24*60*60*1000)/1000);
|
||||
|
|
Loading…
Reference in New Issue