aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-05-29 01:00:38 +0200
committerTectu <joel@unormal.org>2012-05-29 01:00:38 +0200
commit83b373062bdd8f48bbef34d85cf3e71d125f5c33 (patch)
treea5140d6bb095f55fc741eee84ed2b7afcd5d4d10
parentda85b990445e4b8127c14dd2b9cb769f36eb171c (diff)
downloaduGFX-83b373062bdd8f48bbef34d85cf3e71d125f5c33.tar.gz
uGFX-83b373062bdd8f48bbef34d85cf3e71d125f5c33.tar.bz2
uGFX-83b373062bdd8f48bbef34d85cf3e71d125f5c33.zip
cleanup
-rwxr-xr-xglcd.c2
-rwxr-xr-xglcd.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/glcd.c b/glcd.c
index 321b5acf..be4e1694 100755
--- a/glcd.c
+++ b/glcd.c
@@ -54,7 +54,7 @@ static __inline void lcdWriteReg(uint16_t lcdReg,uint16_t lcdRegValue) {
Set_CS;
}
-uint16_t lcdReadReg(uint16_t lcdReg) {
+static __inline uint16_t lcdReadReg(uint16_t lcdReg) {
uint16_t lcdRAM;
Clr_CS;
diff --git a/glcd.h b/glcd.h
index afa5c628..b0bf0b52 100755
--- a/glcd.h
+++ b/glcd.h
@@ -44,7 +44,6 @@
enum orientation {portrait = 0, landscape = 1};
-uint16_t lcdReadReg(uint16_t reg);
void lcdInit(void);
void lcdClear(uint16_t color);
void lcdTest(void);