From bd3f2ebfbd3192cc75ab0c3183ba845a12663181 Mon Sep 17 00:00:00 2001 From: Darren Lines Date: Sun, 6 Nov 2022 19:13:38 +0000 Subject: [PATCH] Fix heading graph on PixelOSD This fixes an error where only the first part of the graph would update. --- src/main/io/osd_canvas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/io/osd_canvas.c b/src/main/io/osd_canvas.c index 361dce12f..d9ac344c7 100644 --- a/src/main/io/osd_canvas.c +++ b/src/main/io/osd_canvas.c @@ -438,7 +438,7 @@ void osdCanvasDrawArtificialHorizon(displayPort_t *display, displayCanvas_t *can void osdCanvasDrawHeadingGraph(displayPort_t *display, displayCanvas_t *canvas, const osdDrawPoint_t *p, int heading) { - static const uint16_t graph[] = { + static const uint8_t graph[] = { SYM_HEADING_W, SYM_HEADING_LINE, SYM_HEADING_DIVIDED_LINE, -- 2.11.4.GIT