AirsoftTimer software based on mbed
Dependencies: mbed TextLCD keypad
Diff: board/Board.h
- Revision:
- 19:2eba101d9c2c
- Parent:
- 18:abcebc4d0da0
- Child:
- 20:b89791ecceec
--- a/board/Board.h Sat May 23 20:57:45 2015 +0000 +++ b/board/Board.h Sat May 23 22:42:51 2015 +0000 @@ -49,10 +49,10 @@ //void attach(ButtonListener *bl); //void attach(uint32_t (*fptr)(uint32_t)); -// template<class T> -/* void attach(T* item, uint32_t(T::*method)(uint32_t)){ + template<class T> + void attach(T* item, uint32_t(T::*method)(uint32_t)){ _callback.attach(item, method); - }*/ + } protected: //void buttonEvent(char c);