Fixed GUI bug.
This commit is contained in:
parent
52c0fcf109
commit
45d2ddd9ce
|
@ -383,13 +383,12 @@ void drawBluetoothFailed() {
|
||||||
M5.lcd.fillRect(0, 185, 320, 240, (COLORS[COLOR_MODE] - 1) % 2);
|
M5.lcd.fillRect(0, 185, 320, 240, (COLORS[COLOR_MODE] - 1) % 2);
|
||||||
M5.lcd.fillRect(0, 185, 320, 240, (COLORS[COLOR_MODE] - 1) % 2);
|
M5.lcd.fillRect(0, 185, 320, 240, (COLORS[COLOR_MODE] - 1) % 2);
|
||||||
M5.Lcd.drawString("Bluetooth: disconnected", 20, 110, 4);
|
M5.Lcd.drawString("Bluetooth: disconnected", 20, 110, 4);
|
||||||
|
for (int i = 0; i < 4; i++) { // thicker line
|
||||||
|
M5.lcd.drawLine(240 + i, 55, 270 + i, 5, RED);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
M5.Lcd.drawString("connecting failed", 50, 110, 4);
|
M5.Lcd.drawString("connecting failed", 50, 110, 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i = 0; i < 4; i++) { // thicker line
|
|
||||||
M5.lcd.drawLine(240 + i, 55, 270 + i, 5, RED);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void bluetoothBlinking() {
|
void bluetoothBlinking() {
|
||||||
|
|
Loading…
Reference in a new issue