From a75de72bb1caed67c8dd4dde24a33d36acb01b38 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Sun, 9 Jul 2023 13:26:09 -0400 Subject: [PATCH] [RTduino][ST7789] fix the demo of duration time caculation --- .../stm32l475-atk-pandora/board/ports/arduino/ST7789_demo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);