aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-06-13 22:32:14 +0200
committerTectu <joel@unormal.org>2012-06-13 22:32:14 +0200
commitb0b85efa187e93ab17d178146507f02c10eeb910 (patch)
tree32dde60bf40fca8e76ff5b5de1b7e596badfd96b
parent4d4acdd9d19e8d3cbca7020c0447dc30fb667863 (diff)
downloaduGFX-b0b85efa187e93ab17d178146507f02c10eeb910.tar.gz
uGFX-b0b85efa187e93ab17d178146507f02c10eeb910.tar.bz2
uGFX-b0b85efa187e93ab17d178146507f02c10eeb910.zip
cleanup
-rw-r--r--glcd.c6
-rw-r--r--glcd.h2
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);