Skip to content

Commit ed766cb

Browse files
committed
fix example
1 parent 298bfd8 commit ed766cb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

examples/adafruitGfx/tft/platformio.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ lib_dir=~/Arduino/Libraries
1515
platform = atmelavr
1616
board = nanoatmega328
1717
framework = arduino
18+
build_flags = -Wno-comment -Wno-reorder -Wno-strict-aliasing -Wno-builtin-macro-redefined -Wno-strict-aliasing

examples/adafruitGfx/tft/tft/tft.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ CHOOSE(chooseTest,chooseMenu,"Choose",doNothing,noEvent,noStyle
9494
class altPrompt:public prompt {
9595
public:
9696
altPrompt(const promptShadow& p):prompt(p) {}
97-
idx_t printTo(navRoot &root,bool sel,menuOut& out,idx_t len) override {
97+
idx_t printTo(navRoot &root,bool sel,menuOut& out, idx_t idx,idx_t len) override {
9898
return out.printRaw("special prompt!",len);;
9999
}
100100
};

0 commit comments

Comments
 (0)