aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-06-25 13:20:58 +0200
committerTectu <joel@unormal.org>2012-06-25 13:20:58 +0200
commitbea97894b50f6cbb4fa4b3c0cafa256c7c85d91b (patch)
tree9183fc046f7ee41f0ad71c2453e6a24e18ee763e /drivers
parent484daa395a7b74692657730b4f487e58b2e231fd (diff)
downloaduGFX-bea97894b50f6cbb4fa4b3c0cafa256c7c85d91b.tar.gz
uGFX-bea97894b50f6cbb4fa4b3c0cafa256c7c85d91b.tar.bz2
uGFX-bea97894b50f6cbb4fa4b3c0cafa256c7c85d91b.zip
whitespaces
Diffstat (limited to 'drivers')
-rw-r--r--drivers/lcd/ssd1289_lld.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/lcd/ssd1289_lld.c b/drivers/lcd/ssd1289_lld.c
index 033114cf..9065db9a 100644
--- a/drivers/lcd/ssd1289_lld.c
+++ b/drivers/lcd/ssd1289_lld.c
@@ -29,8 +29,10 @@ static __inline void lld_lcdWriteData(uint16_t data) {
static __inline void lld_lcdWriteReg(uint16_t lcdReg,uint16_t lcdRegValue) {
Clr_CS;
+
lld_lcdWriteIndex(lcdReg);
lld_lcdWriteData(lcdRegValue);
+
Set_CS;
}
@@ -62,6 +64,7 @@ static __inline uint16_t lld_lcdReadReg(uint16_t lcdReg) {
__inline void lld_lcdWriteStreamStart(void) {
Clr_CS
+
lld_lcdWriteIndex(0x0022);
}