Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -67,7 +67,7 @@ int main(void) | ... | @@ -67,7 +67,7 @@ int main(void) |
67 | if (state == 0) break; | 67 | if (state == 0) break; |
68 | } | 68 | } |
69 | } | 69 | } |
70 | - if (keypadnum == 3) { | 70 | + else if (keypadnum == 3) { |
71 | for (i = 0; i < 8; i++) { | 71 | for (i = 0; i < 8; i++) { |
72 | if (state == 0) break; | 72 | if (state == 0) break; |
73 | LedControl(i); | 73 | LedControl(i); | ... | ... |
-
Please register or login to post a comment