Skip to content

Commit 8ad4627

Browse files
committed
fixing #143
senconda part, about override error
1 parent 1101abb commit 8ad4627

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

examples/Serial/ansiSerial/platformio.ini

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,15 @@ board = nanoatmega328
1717
framework = arduino
1818
upload_port=/dev/ttyUSB*
1919
upload_flags=-V
20-
build_flags = -Wno-comment -Wno-reorder -Wno-strict-aliasing -Wno-builtin-macro-redefined -DNODEBUG
20+
build_flags = -DNODEBUG
21+
22+
[env:nanoatmega328]
23+
platform = atmelavr
24+
board = nanoatmega328
25+
framework = arduino
26+
upload_port=/dev/ttyUSB*
27+
upload_flags=-V -cusbasp
28+
build_flags = -DNODEBUG
2129

2230
; [env:teensy31]
2331
; platform = teensy

src/items.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
virtual bool changed(const navNode &nav,const menuOut& out,bool sub=true) {return dirty;}
6262
//this is the system version of enter handler, its used by elements like toggle
6363
virtual result sysHandler(SYS_FUNC_PARAMS) {return proceed;}
64-
/*virtual*/ result eventHandler(eventMask e,navNode& nav,idx_t i) {
64+
virtual result eventHandler(eventMask e,navNode& nav,idx_t i) {
6565
return operator()(e,nav,*this);
6666
}
6767
#ifdef MENU_FMT_WRAPS

0 commit comments

Comments
 (0)