diff options
author | Guillaume Knispel <gknispel@avencall.com> | 2012-09-19 15:06:49 +0200 |
---|---|---|
committer | Guillaume Knispel <gknispel@avencall.com> | 2012-09-19 15:06:49 +0200 |
commit | 90a2ed97fa0b27c460567c03cdbbb8a7b7df6129 (patch) | |
tree | ab82fdd472cbf1e975c41e9ff7719a7768de1ca2 | |
parent | b00f85ae478f4307224f1c5b269e17adff5d36cb (diff) |
force off state for 3 seconds
This is in line with what is used for the auto reboots tests and what
the EP80579 does itself in some reboot cases.
-rw-r--r-- | main.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -415,11 +415,7 @@ int main(void) case STOP: InitPorts(); -#ifndef LOOP_REBOOT - Timer1 = 1000; // Disable any other Power up for 1 s. -#else - Timer1 = 3000; -#endif + Timer1 = 3000; // Disable any other Power up for 3 s. ClrBit(P2OUT, RED_LED_N); // To show no restart is possible for now change_state(STOP + 1); break; |