Adjust the LCD_Menu to use the mBed Application board resources
Dependents: class_project_main
Fork of SerialLCD_Menu by
Diff: Selection.cpp
- Revision:
- 1:84d263c8932d
- Parent:
- 0:577f0ec71f4c
- Child:
- 3:920157b558db
--- a/Selection.cpp Thu Feb 28 22:19:37 2013 +0000 +++ b/Selection.cpp Tue Mar 05 20:33:27 2013 +0000 @@ -2,9 +2,5 @@ #include "Selection.h" #include "TextLCD.h" -Selection::Selection(void (*fun)(), int position, char* text) -{ - fun = fun; - selText = text; - pos = position; -} +Selection::Selection(void (*fun)(), int position, Menu *child, char* text) : + fun(fun), selText(text), pos(position), childMenu(child) {}