浏览代码

Fix build error - Color display support - release

Sebastien 4 年之前
父节点
当前提交
c41d30f883
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      components/squeezelite/display.c

+ 4 - 4
components/squeezelite/display.c

@@ -587,13 +587,13 @@ void draw_VU(struct GDS_Device * display, const uint8_t *data, int level, int x,
 		if (visu.rotate) {
 			for (int r = 0; r < width; r++) {
 				for (int c = VU_HEIGHT; --c >= 0;) {
-					GDS_DrawPixelFast(display, c + x, r + y, *data++ >> scale);
+					GDS_DrawPixelFastExt(display, c + x, r + y, *data++ >> scale);
 				}	
 			}	
 		} else {
 			for (int r = 0; r < width; r++) {
 				for (int c = 0; c < VU_HEIGHT; c++) {
-				GDS_DrawPixelFast(display, r + x, c + y, *data++ >> scale);
+				GDS_DrawPixelFastExt(display, r + x, c + y, *data++ >> scale);
 				}	
 			}			
 		}	
@@ -602,13 +602,13 @@ void draw_VU(struct GDS_Device * display, const uint8_t *data, int level, int x,
 		if (visu.rotate) {
 			for (int r = 0; r < width; r++) {
 				for (int c = VU_HEIGHT; --c >= 0;) {
-					GDS_DrawPixelFast(display, c + x, r + y, grayMap[*data++]);
+					GDS_DrawPixelFastExt(display, c + x, r + y, grayMap[*data++]);
 				}	
 			}	
 		} else {
 			for (int r = 0; r < width; r++) {
 				for (int c = 0; c < VU_HEIGHT; c++) {
-				GDS_DrawPixelFast(display, r + x, c + y, grayMap[*data++]);
+				GDS_DrawPixelFastExt(display, r + x, c + y, grayMap[*data++]);
 				}	
 			}			
 		}