Browse Source

Fix display error in test app during initialization

master
Adam Pippin 4 years ago
parent
commit
22f153ba1b
  1. 2
      watchos.ino

2
watchos.ino

@ -10,12 +10,14 @@ int count = 0;
int test_func(int pid, unsigned int signal) int test_func(int pid, unsigned int signal)
{ {
M5.Lcd.fillScreen(TFT_DARKGREY); M5.Lcd.fillScreen(TFT_DARKGREY);
M5.Lcd.setTextColor(TFT_WHITE, TFT_DARKGREY);
M5.Lcd.setCursor(0, 0); M5.Lcd.setCursor(0, 0);
if (signal & SIGNAL_START) if (signal & SIGNAL_START)
{ {
M5.Lcd.setRotation(3); M5.Lcd.setRotation(3);
M5.Lcd.print("Initializing..."); M5.Lcd.print("Initializing...");
M5.Lcd.setCursor(0, 15);
if (EAT_allocate(1, 2)) if (EAT_allocate(1, 2))
{ {
EAT_write(1, 0, 0); EAT_write(1, 0, 0);

Loading…
Cancel
Save