Custom menu

Fork of Menu by Peihsun Yeh

Revision:
4:396eff5be1a1
Parent:
3:3fceb6ff921e
diff -r 3fceb6ff921e -r 396eff5be1a1 Selection.cpp
--- a/Selection.cpp	Thu Feb 26 11:57:11 2015 +0000
+++ b/Selection.cpp	Tue Mar 03 03:57:46 2015 +0000
@@ -2,5 +2,5 @@
 #include "Selection.h"
 #include "TextLCD.h"
 
-Selection::Selection(void (*fun)(), int position, Menu *child, const char* text) :
+Selection::Selection(FunctionPointer *fun, int position, Menu *child, const char* text) :
     fun(fun), selText(text), pos(position), childMenu(child) {}