Skip to content

Commit c62490f

Browse files
committed
examples review
1 parent 55d23c2 commit c62490f

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

examples/LCDs/I2C/I2C.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ http://playground.arduino.cc/Code/LCD3wires
105105
class altPrompt:public prompt {
106106
public:
107107
altPrompt(const promptShadow& p):prompt(p) {}
108-
idx_t printTo(navRoot &root,bool sel,menuOut& out,idx_t len) override {
108+
idx_t printTo(navRoot &root,bool sel,menuOut& out, idx_t idx,idx_t len) override {
109109
return out.printRaw("special prompt!",len);;
110110
}
111111
};

examples/LiquidCrystal/LiquidCrystal.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ CHOOSE(chooseTest,chooseMenu,"Choose",doNothing,noEvent,noStyle
102102
class altPrompt:public prompt {
103103
public:
104104
altPrompt(const promptShadow& p):prompt(p) {}
105-
idx_t printTo(navRoot &root,bool sel,menuOut& out,idx_t len) override {
105+
idx_t printTo(navRoot &root,bool sel,menuOut& out, idx_t idx,idx_t len) override {
106106
return out.printRaw("special prompt!",len);;
107107
}
108108
};

examples/U8G2/platformio.ini

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ lib_dir=~/Arduino/Libraries
2222
;framework = arduino
2323
;build_flags = -Wno-comment -Wno-reorder -Wno-strict-aliasing -Wno-builtin-macro-redefined -Wno-strict-aliasing
2424

25-
;[env:nanoatmega328]
26-
;platform = atmelavr
27-
;board = nanoatmega328
28-
;framework = arduino
29-
30-
[env:esp01_1m]
31-
platform = espressif8266
32-
board = esp01_1m
25+
[env:nanoatmega328]
26+
platform = atmelavr
27+
board = nanoatmega328
3328
framework = arduino
34-
build_flags = -Wno-comment -Wno-reorder -Wno-strict-aliasing -Wno-builtin-macro-redefined -Wno-strict-aliasing -DDEBUG
29+
30+
;[env:esp01_1m]
31+
;platform = espressif8266
32+
;board = esp01_1m
33+
;framework = arduino
34+
;build_flags = -Wno-comment -Wno-reorder -Wno-strict-aliasing -Wno-builtin-macro-redefined -Wno-strict-aliasing -DDEBUG

examples/UTFT/UTFT.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ CHOOSE(chooseTest,chooseMenu,"Choose",doNothing,noEvent,noStyle
8888
class altPrompt:public prompt {
8989
public:
9090
altPrompt(const promptShadow& p):prompt(p) {}
91-
idx_t printTo(navRoot &root,bool sel,menuOut& out,idx_t len) override {
91+
idx_t printTo(navRoot &root,bool sel,menuOut& out, idx_t idx,idx_t len) override {
9292
return out.printRaw("special prompt!",len);;
9393
}
9494
};

0 commit comments

Comments
 (0)