AirsoftTimer software based on mbed
Dependencies: mbed TextLCD keypad
Diff: games/GameSelector.h
- Revision:
- 19:2eba101d9c2c
- Parent:
- 18:abcebc4d0da0
--- a/games/GameSelector.h Sat May 23 20:57:45 2015 +0000 +++ b/games/GameSelector.h Sat May 23 22:42:51 2015 +0000 @@ -12,18 +12,18 @@ void go_down(); void go_up(); - int start_position; - int current_selection; - int total_selections; + volatile int start_position; + volatile int current_selection; + volatile int total_selections; - int selected_game; + volatile int selected_game; char* titles[7]; - + int update_screen; public: - //uint32_t buttonEvent(uint32_t c); + uint32_t buttonEvent(uint32_t c); GameSelector(Board* board); int select(); };