jakob schreib mir bitte die methode auf int postion

Dependencies:   TextLCD mbed

Fork of Mbed-Mensch-3-Menu by Projekte_werkstatt

Revision:
6:eda2b36d5be1
Parent:
5:f4db4cd245e3
Child:
7:bd4b77580026
--- a/main.cpp	Fri Mar 11 07:47:58 2016 +0000
+++ b/main.cpp	Fri Mar 11 07:52:54 2016 +0000
@@ -160,8 +160,8 @@
             selected[depth-1]=3;
         else
             selected[depth-1]--;
+        print_menu();
     }
-    print_menu();
 }
 void down()
 {
@@ -171,8 +171,8 @@
             selected[depth-1]=0;
         else
             selected[depth-1]++;
+        print_menu();
     }
-    print_menu();
 }
 void accept()
 {