From 76fafb7dbbd8d1c45682fa3a84dcd2232ebb615c Mon Sep 17 00:00:00 2001 From: Tectu Date: Thu, 14 Jun 2012 12:16:34 +0200 Subject: cleanups --- glcd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'glcd.c') diff --git a/glcd.c b/glcd.c index f50c696d..b7b27c34 100644 --- a/glcd.c +++ b/glcd.c @@ -7,7 +7,7 @@ uint16_t lcd_width, lcd_height; uint16_t bgcolor=White, fgcolor=Black; uint16_t cx, cy; static uint8_t tpText=0; -uint8_t* font; +const uint8_t* font; void lcdInit(void) { lld_lcdInit(); @@ -117,8 +117,8 @@ void lcdDrawLine(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t co } } -void lcdSetFont(uint8_t *fnt) { - font = fnt; +void lcdSetFont(const uint8_t *newFont) { + font = newFont; } void lcdSetFontTransparency(uint8_t transparency) { -- cgit v1.2.3