aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-06-17 04:23:59 +0200
committerTectu <joel@unormal.org>2012-06-17 04:23:59 +0200
commit096e6c4ed97c0276ae2cf39a01319ddf5aac4488 (patch)
tree3007e916b455daa8ff01bb49c58753891757d6ba
parent534957a2d3bc8fe388e0a36a99956079553947e5 (diff)
downloaduGFX-096e6c4ed97c0276ae2cf39a01319ddf5aac4488.tar.gz
uGFX-096e6c4ed97c0276ae2cf39a01319ddf5aac4488.tar.bz2
uGFX-096e6c4ed97c0276ae2cf39a01319ddf5aac4488.zip
small cleanup
-rw-r--r--glcd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/glcd.c b/glcd.c
index a28681d2..6f03c664 100644
--- a/glcd.c
+++ b/glcd.c
@@ -173,7 +173,8 @@ void lcdDrawChar(char c) {
}
void lcdPutString(const char *str) {
- while (*str) lcdDrawChar(*str++);
+ while(*str)
+ lcdDrawChar(*str++);
}
void lcdDrawString(uint16_t x, uint16_t y, const char *str, uint16_t color, uint16_t bkcolor) {