Permalink
Browse files

state stays in QUIT forever

  • Loading branch information...
1 parent 03e34f4 commit 36aef8b4f9c72ae9f9f1a7b570d1d5f2c0cddae7 @sebseb7 committed Oct 31, 2011
Showing with 6 additions and 1 deletion.
  1. +6 −1 firmware/apps/replicate.c
@@ -69,8 +69,13 @@ static uint8_t tick() {
++sub_step;
}
+
+ if(state == QUIT)
+ {
+ state == INIT;
+ }
- return state == QUIT;
+ return state == INIT;
}
static void key(key_type key, event_type event) {

0 comments on commit 36aef8b

Please sign in to comment.