[RTduino][ST7789] fix the demo of duration time caculation

This commit is contained in:
Meco Man 2023-07-09 13:26:09 -04:00 committed by Man, Jianting (Meco)
parent 5a51cd29c7
commit a75de72bb1
1 changed files with 1 additions and 1 deletions

View File

@ -279,8 +279,8 @@ static void st7789_setup(void)
Serial.print(time, DEC);
Serial.println(" ms");
testdrawtext((char *)"RTduino is an open source project which is compatible with Arduino APIs so that RT-Thread beginners can easily get start to use RT-Thread through Arduino APIs, which significantly reduces the difficulty of learning RT-Thread.", ST77XX_WHITE);
time = millis();
testdrawtext((char *)"RTduino is an open source project which is compatible with Arduino APIs so that RT-Thread beginners can easily get start to use RT-Thread through Arduino APIs, which significantly reduces the difficulty of learning RT-Thread.", ST77XX_WHITE);
time = millis() - time;
Serial.print("write text spend: ");
Serial.print(time, DEC);