fixed "enter menu"-bug

This commit is contained in:
Hans-Gert Dahmen 2009-12-26 23:26:06 +00:00
parent 27260b2abe
commit f70ab4226c
1 changed files with 20 additions and 19 deletions

View File

@ -107,21 +107,18 @@ void display_loop(){
rectangles();
break;
#endif
case 29:
// mode = 1;
break;
#ifdef ANIMATION_TESTS
case 31:
//test_level1();
test_level1();
break;
case 32:
//test_level2();
test_level2();
break;
case 33:
//test_level3();
test_level3();
break;
case 35:
@ -131,17 +128,21 @@ void display_loop(){
break;
#endif
#ifdef ANIMATION_OFF
case 0xFF:
off();
case 42:
mode = 1;
break;
#endif
#ifdef MENU_SUPPORT
case 43:
menu();
mode = oldOldmode;
#endif
#ifdef ANIMATION_OFF
case 0xFF:
off();
break;
#endif
}
}
}