From 40b48f470addad6a4fb1177de1a69a181158739b Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Tue, 3 Dec 2019 15:18:55 +1100 Subject: Fix compatibility with newer ChibiOS, as upstream don't want to do so. --- src/gdisp/gdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gdisp/gdisp.c') diff --git a/src/gdisp/gdisp.c b/src/gdisp/gdisp.c index 7b5438d7..a73466ef 100644 --- a/src/gdisp/gdisp.c +++ b/src/gdisp/gdisp.c @@ -561,7 +561,7 @@ void _gdispInit(void) #if defined(GDISP_DRIVER_LIST) { unsigned i; - typedef const GDISPVMT const GDISPVMTLIST[1]; + typedef const GDISPVMT GDISPVMTLIST[1]; extern GDISPVMTLIST GDISP_DRIVER_LIST; static const GDISPVMT * const dclist[] = {GDISP_DRIVER_LIST}; -- cgit v1.2.3