From c41d30f883a1a382ef5ea79d141eedfe11d24480 Mon Sep 17 00:00:00 2001 From: Sebastien Date: Tue, 28 Jul 2020 15:39:18 -0400 Subject: [PATCH] Fix build error - Color display support - release --- components/squeezelite/display.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/squeezelite/display.c b/components/squeezelite/display.c index e1bfaa48..546f57d2 100644 --- a/components/squeezelite/display.c +++ b/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++]); } } }