summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2023-07-09 13:26:09 -0400
committerMan, Jianting (Meco) <[email protected]>2023-07-09 20:55:51 -0400
commita75de72bb1caed67c8dd4dde24a33d36acb01b38 (patch)
tree871ef2e1aa9381835ae47896709ce6f7fb590bda
parent5a51cd29c78ceede16b0e85bf356f2d408bf6d11 (diff)
[RTduino][ST7789] fix the demo of duration time caculation
-rw-r--r--bsp/stm32/stm32l475-atk-pandora/board/ports/arduino/ST7789_demo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/stm32/stm32l475-atk-pandora/board/ports/arduino/ST7789_demo.cpp b/bsp/stm32/stm32l475-atk-pandora/board/ports/arduino/ST7789_demo.cpp
index dbd67ca8b5..7bf78a83c2 100644
--- a/bsp/stm32/stm32l475-atk-pandora/board/ports/arduino/ST7789_demo.cpp
+++ b/bsp/stm32/stm32l475-atk-pandora/board/ports/arduino/ST7789_demo.cpp
@@ -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);