소스 검색

Added ST7735_FillScreenFast()

Vladimir N. Shilov 1 년 전
부모
커밋
19fb646a70
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      lib/st7735/st7735.c

+ 4 - 0
lib/st7735/st7735.c

@@ -404,6 +404,10 @@ void ST7735_FillScreen(uint16_t color) {
   ST7735_FillRectangle(0, 0, ST7735_WIDTH, ST7735_HEIGHT, color);
 }
 
+void ST7735_FillScreenFast(uint16_t color) {
+    ST7735_FillRectangleFast(0, 0, ST7735_WIDTH, ST7735_HEIGHT, color);
+}
+
 void ST7735_DrawImage(uint16_t x, uint16_t y, uint16_t w, uint16_t h, const uint16_t* data) {
   if ((x >= ST7735_WIDTH) || (y >= ST7735_HEIGHT)) {
       return;