Skip to content

Commit 345a077

Browse files
committed
Merge branch 'master' into update_eSPI
2 parents 7e863fb + 4237328 commit 345a077

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

component.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
#
44
# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)
55

6-
COMPONENT_SRCDIRS := . src
7-
COMPONENT_ADD_INCLUDEDIRS := . src
6+
COMPONENT_SRCDIRS := src src/utility src/Fonts
7+
COMPONENT_ADD_INCLUDEDIRS := src

examples/Advanced/Display/HZK16/HZK16.ino

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void setup() {
2626

2727
delay(1000);
2828
// Clear screen
29-
M5.Lcd.clear(BLACK);
29+
M5.Lcd.clear();
3030
// Turn highlight off
3131
M5.Lcd.highlight(false);
3232
M5.Lcd.setCursor(0,10);
@@ -38,7 +38,7 @@ void setup() {
3838
M5.Lcd.printf(GbkStr);
3939

4040
delay(1000);
41-
M5.Lcd.clear(BLACK);
41+
M5.Lcd.clear();
4242

4343
// Set text size to 2
4444
M5.Lcd.setTextSize(2);
@@ -51,7 +51,7 @@ void setup() {
5151
M5.Lcd.printf(AscStr);
5252
delay(1000);
5353

54-
M5.Lcd.clear(BLACK);
54+
M5.Lcd.clear();
5555
M5.Lcd.highlight(false);
5656
M5.Lcd.setCursor(0,10);
5757
M5.Lcd.printf(GbkStr);
@@ -62,7 +62,7 @@ void setup() {
6262

6363
delay(1000);
6464

65-
M5.Lcd.clear(NAVY);
65+
M5.Lcd.clear();
6666
M5.Lcd.highlight(false);
6767

6868
// Set text with non-transparent back color, BLACK as set at the beginning.
@@ -79,4 +79,4 @@ void setup() {
7979
void loop() {
8080
// put your main code here, to run repeatedly:
8181

82-
}
82+
}

0 commit comments

Comments
 (0)