Skip to content

Commit 5816ea5

Browse files
committed
rem debug code
1 parent ad01887 commit 5816ea5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/menu.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ int menu::menuKeys(menuOut &p,Stream& c,bool canExit) {
6363
sel=sz-(canExit?0:1);
6464
if (sel+1>=p.maxY) {
6565
p.top=sel-p.maxY+1;
66-
Serial<<"menuKeys top1:"<<p.top<<endl;
66+
//Serial<<"menuKeys top1:"<<p.top<<endl;
6767
}
6868
} else sel=0;
6969
}
7070
if (p.top>sel) {
7171
p.top=sel;
72-
Serial<<"menuKeys top2:"<<p.top<<endl;
72+
//Serial<<"menuKeys top2:"<<p.top<<endl;
7373
}
7474
} else if (ch==menu::upCode) {
7575
sel++;
@@ -81,7 +81,7 @@ int menu::menuKeys(menuOut &p,Stream& c,bool canExit) {
8181
}
8282
if (sel+1-p.top>p.maxY) {
8383
p.top=sel-p.maxY+1;
84-
Serial<<"menuKeys top3:"<<p.top<<endl;
84+
//Serial<<"menuKeys top3:"<<p.top<<endl;
8585
}
8686
} else if (ch==menu::escCode) {
8787
op=-1;

0 commit comments

Comments
 (0)