From b0b85efa187e93ab17d178146507f02c10eeb910 Mon Sep 17 00:00:00 2001 From: Tectu Date: Wed, 13 Jun 2012 22:32:14 +0200 Subject: [PATCH] cleanup --- glcd.c | 6 +++--- glcd.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/glcd.c b/glcd.c index bb77b0b1..51df22cb 100644 --- a/glcd.c +++ b/glcd.c @@ -119,8 +119,8 @@ void lcdSetFont(uint8_t *fnt) { font = fnt; } -void lcdEnableTransparentText(uint8_t en) { - tpText = en; +void lcdEnableTransparentText(uint8_t transparency) { + tpText = transparency; } void lcdDrawChar(char c) { @@ -132,7 +132,7 @@ void lcdDrawChar(char c) { // No support for nongraphic characters, so just ignore them if(c < 0x20 || c > 0x7F) { - if(c=='\n') + if(c == '\n') lcdLineBreak(); return; } diff --git a/glcd.h b/glcd.h index 31ff740a..6116dc88 100644 --- a/glcd.h +++ b/glcd.h @@ -53,7 +53,7 @@ void lcdDrawRect(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint8_t fil void lcdDrawRectString(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, const char* str, uint16_t fontColor, uint16_t bkColor); void lcdDrawCircle(uint16_t x, uint16_t y, uint16_t radius, uint8_t filled, uint16_t color); -void lcdEnableTransparentText(uint8_t en); +void lcdEnableTransparentText(uint8_t transparency); void lcdSetFont(uint8_t *fnt); void lcdDrawChar(char c); void lcdPutString(const char *str);