Adjust the LCD_Menu to use the mBed Application board resources

Dependents:   class_project_main

Fork of SerialLCD_Menu by Mark Shuck

Revision:
10:379a279cd90c
Parent:
7:9b0298adab99
Child:
11:af7687f1a985
--- a/Navigator.cpp	Fri Aug 30 01:22:00 2013 +0000
+++ b/Navigator.cpp	Tue Sep 03 07:10:56 2013 +0000
@@ -82,10 +82,10 @@
             bottom = activeMenu->selections.size();
             cursorPos = 0;
             cursorLine = 1;
-            printMenu();
-            printCursor();
         }
     }
+    printMenu();
+    printCursor();
     lastButton[0]=button[0];
     lastButton[1]=button[1];
     lastButton[2]=button[2];
@@ -101,8 +101,6 @@
     if(cursorPos != 0){
         cursorPos--;
     }
-    printMenu();
-    printCursor();
 }
 
 void Navigator::moveDown()
@@ -113,6 +111,4 @@
     if(cursorPos != (bottom-1)){
         cursorPos++;
     }
-    printMenu();
-    printCursor();
 }
\ No newline at end of file