From bec69dc440b99a2853d44de5dd7b5a8909428fd0 Mon Sep 17 00:00:00 2001 From: Federico Amedeo Izzo Date: Sun, 24 Jan 2021 15:57:02 +0100 Subject: [PATCH] Graphics.h: Fix compiler warning --- openrtx/include/interfaces/graphics.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/openrtx/include/interfaces/graphics.h b/openrtx/include/interfaces/graphics.h index 431145b0..1c77fe52 100644 --- a/openrtx/include/interfaces/graphics.h +++ b/openrtx/include/interfaces/graphics.h @@ -102,14 +102,14 @@ typedef enum /** * Selection of the fonts, ordered by the fontSize_t enum. */ -static GFXfont fonts[] = { TomThumb, // 5pt - FreeSans6pt7b, // 6pt - FreeSans8pt7b, // 8pt - FreeSans9pt7b, // 9pt - FreeSans12pt7b, // 12pt - FreeSans16pt7b, // 16pt - FreeSans18pt7b, // 16pt - FreeSans24pt7b }; // 24pt +static GFXfont const fonts[] = { TomThumb, // 5pt + FreeSans6pt7b, // 6pt + FreeSans8pt7b, // 8pt + FreeSans9pt7b, // 9pt + FreeSans12pt7b, // 12pt + FreeSans16pt7b, // 16pt + FreeSans18pt7b, // 16pt + FreeSans24pt7b }; // 24pt /** * This function calls the correspondent method of the low level interface display.h