Removed poor signal quality icon when bluetooth disconnected.
This commit is contained in:
parent
3e6f7eca53
commit
7cb14f41cd
|
@ -361,10 +361,10 @@ void drawBluetoothLoading() {
|
||||||
void drawBluetoothFailed() {
|
void drawBluetoothFailed() {
|
||||||
M5.lcd.fillRect(0, 65, 320, 110, (COLORS[COLOR_MODE] - 1) % 2);
|
M5.lcd.fillRect(0, 65, 320, 110, (COLORS[COLOR_MODE] - 1) % 2);
|
||||||
if (wasConnected) {
|
if (wasConnected) {
|
||||||
// TODO SMAZAT SIGNAL
|
M5.lcd.fillRect(0, 0, 150, 55, (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);
|
||||||
M5.lcd.fillRect(0, 185, 320, 240, (COLORS[COLOR_MODE] - 1) % 2);
|
|
||||||
} else {
|
} else {
|
||||||
M5.Lcd.drawString("connecting failed", 50, 110, 4);
|
M5.Lcd.drawString("connecting failed", 50, 110, 4);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue