Skip to content

Commit bbe4ae8

Browse files
committed
cosmetics
1 parent 95c9a9d commit bbe4ae8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/Serial/serialio/serialio/serialio.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ result showEvent(eventMask e,navNode& nav,prompt& item) {
2323
return proceed;
2424
}
2525

26-
int test=55;
26+
float test=55;
2727

2828
result action1(eventMask e) {
2929
Serial.print(e);

src/items.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,9 +263,10 @@ Used fieldBase::printTo(navRoot &root,bool sel,menuOut& out, idx_t idx,idx_t len
263263
bool ed=this==root.navFocus;
264264
//bool sel=nav.sel==i;
265265
if (l<len) {
266+
//TODO: remove cursor when printing asPad menus
266267
// if(!root.node().has(_asPad))//do notdraw edit cursors for pad menu items?
267268
//this is not really working!
268-
out.print((root.navFocus==this&&sel)?(tunning?'>':':'):'X');
269+
out.print((root.navFocus==this&&sel)?(tunning?'>':':'):' ');
269270
l++;
270271
if (l<len) {
271272
#ifdef MENU_FMT_WRAPS

0 commit comments

Comments
 (0)