diff options
author | Tectu <joel@unormal.org> | 2012-06-14 12:16:34 +0200 |
---|---|---|
committer | Tectu <joel@unormal.org> | 2012-06-14 12:16:34 +0200 |
commit | 76fafb7dbbd8d1c45682fa3a84dcd2232ebb615c (patch) | |
tree | 4c9d5a6261be1ab4139644de9d0c73c11f74e1fe /glcd.c | |
parent | a5ae06796053bbb6cee77a2bbaeea5de4daad4ef (diff) | |
download | uGFX-76fafb7dbbd8d1c45682fa3a84dcd2232ebb615c.tar.gz uGFX-76fafb7dbbd8d1c45682fa3a84dcd2232ebb615c.tar.bz2 uGFX-76fafb7dbbd8d1c45682fa3a84dcd2232ebb615c.zip |
cleanups
Diffstat (limited to 'glcd.c')
-rw-r--r-- | glcd.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) { |