Menu system broken

Dependencies:   ANSITermMenuSystem

Fork of menuSystemMbed by Ryan Scott

Revision:
7:df9f5b6dd4ed
Parent:
3:bdf42b6c15f4
--- a/HANDLER_ScreensettingsPage.cpp	Sun Apr 21 20:46:28 2013 +0000
+++ b/HANDLER_ScreensettingsPage.cpp	Fri Apr 26 16:17:18 2013 +0000
@@ -6,6 +6,7 @@
 
 extern BusInOut switches; //(p21, p22, p23, p24)
 extern MainMenu pageMenu[MAXPAGES ];
+extern volatile bool exittorecord;
 
 int ScreensettingsPageHandler()
 {
@@ -43,6 +44,9 @@
                     break;
                 }//eo select
             wait_ms(200);
+            if (exittorecord == true)
+            break;
+            
             }//eo if kbhit
         }//eo while
         return userSelection;