|
@@ -53,6 +53,11 @@ void halInit(void) {
|
|
|
pinMode(PIN_FLOW, INPUT);
|
|
|
pinMode(PIN_DISP, OUTPUT);
|
|
|
|
|
|
+ idleTimer.setDivider(1200); //1 min
|
|
|
+ idleCounter = 0;
|
|
|
+ idle = false;
|
|
|
+ halDisplayOn();
|
|
|
+
|
|
|
if (optPower) {
|
|
|
halMachineOn();
|
|
|
} else {
|
|
@@ -64,12 +69,6 @@ void halInit(void) {
|
|
|
Int0Time = 0;
|
|
|
Int1Time = 0;
|
|
|
|
|
|
- idleTimer.setDivider(1200); //1 min
|
|
|
- idleTimer.start();
|
|
|
- idleCounter = 0;
|
|
|
- idle = false;
|
|
|
- halDisplayOn();
|
|
|
-
|
|
|
flagIgnoreRlsInt0 = false;
|
|
|
flagIgnoreRlsInt1 = false;
|
|
|
|