fix font null bug

This commit is contained in:
lewis he
2020-05-21 14:06:31 +08:00
parent ed9a77ba81
commit ae3b330c79

View File

@@ -12,6 +12,9 @@
#include <TTGO.h>
void plotNeedle(int value, byte ms_delay);
void analogMeter();
TTGOClass *ttgo;
#define TFT_GREY 0x5AEB
@@ -34,7 +37,7 @@ void setup(void)
ttgo = TTGOClass::getWatch();
ttgo->begin();
ttgo->openBL();
ttgo->eTFT->setTextFont(1);
ttgo->eTFT->fillScreen(TFT_BLACK);
analogMeter(); // Draw analogue meter