Library to display menus on TextLCDs. Interaction with functions Up,Down and Select (Buttons or RPG) Based on menu-library from pyeh9

Fork of Menu by Peihsun Yeh

Library to display menus on TextLCDs. Interaction with functions Up,Down and Select (Buttons or RPG) Based on menu-library from pyeh9

Revision:
9:c9df0b33d176
Parent:
8:fbaeab73fe1a
Child:
10:2b6ddf53b05e
diff -r fbaeab73fe1a -r c9df0b33d176 Navigator.cpp
--- a/Navigator.cpp	Fri Jan 16 22:23:34 2015 +0000
+++ b/Navigator.cpp	Fri Mar 13 18:44:49 2015 +0000
@@ -57,9 +57,9 @@
 {
     Menu *lastMenu;
     
-    if(activeMenu->selections[_cursorPos].fun != NULL) {
+    if(activeMenu->selections[_cursorPos].userAction != NULL) {
         //execute function
-        (activeMenu->selections[_cursorPos].fun)();
+        (activeMenu->selections[_cursorPos].userAction)();
         // refresh the Menu
         //printMenu();
         //printCursor();