AirsoftTimer software based on mbed
Dependencies: mbed TextLCD keypad
Diff: objectives/Objective.cpp
- Revision:
- 16:e8e96bf22df1
- Parent:
- 15:78116b7254d5
- Child:
- 23:eb5a5da6e83f
--- a/objectives/Objective.cpp Sat May 23 17:55:38 2015 +0000 +++ b/objectives/Objective.cpp Sat May 23 18:36:54 2015 +0000 @@ -10,9 +10,7 @@ button = board->button; keyboard = board->keyboard; buzzer = board->buzzer; - - keyboard->attach(this,&Objective::keyEvent); - + status = WAITING; } @@ -30,10 +28,3 @@ status = COMPLETED; } -uint32_t Objective::keyEvent(uint32_t key){ - // play key pressed sound ? - // do nothing by default - return 0; -} - -