summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Knispel <gknispel@avencall.com>2012-09-12 18:23:02 +0200
committerGuillaume Knispel <gknispel@avencall.com>2012-09-12 18:23:02 +0200
commit4eb6a4caa63021e1cbd6c3253a81df73f96a7c0f (patch)
treec78c10ffe1fd64e173d550a9ad02eabb20b9e789
parent6546ea2051fe801952a5a8f2c7227495b21c577c (diff)
set the power button override to 4s
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 1c9e5c7..b51b15d 100644
--- a/main.c
+++ b/main.c
@@ -383,7 +383,7 @@ int main(void)
break;
case WAIT_STOP:
- if (SW1State >= 6000) // Sw1 button pressed for more than 6 seconds
+ if (SW1State >= 4000) // Sw1 button pressed for more than 4 seconds
change_state(STOP);
break;