diff options
author | Joel Bodenmann <joel@unormal.org> | 2012-11-17 13:43:23 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2012-11-17 13:43:23 +0100 |
commit | 4119264fd6768224f123bfde30309a1ae390d41d (patch) | |
tree | 2a8f460d1894bb233f54e72570233b9e33566bb5 /drivers | |
parent | 2c337b8dc86fbf2990603a51c2414a5f2a9646ec (diff) | |
download | uGFX-4119264fd6768224f123bfde30309a1ae390d41d.tar.gz uGFX-4119264fd6768224f123bfde30309a1ae390d41d.tar.bz2 uGFX-4119264fd6768224f123bfde30309a1ae390d41d.zip |
SSD1289 fix
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gdisp/SSD1289/gdisp_lld.c | 2 | ||||
-rw-r--r-- | drivers/gdisp/SSD1289/gdisp_lld_board_firebullstm32f103.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gdisp/SSD1289/gdisp_lld.c b/drivers/gdisp/SSD1289/gdisp_lld.c index ff1abc19..f70d585c 100644 --- a/drivers/gdisp/SSD1289/gdisp_lld.c +++ b/drivers/gdisp/SSD1289/gdisp_lld.c @@ -62,7 +62,7 @@ // Some common routines and macros
#define write_reg(reg, data) { write_index(reg); write_data(data); }
-#define stream_start() write_reg(0x0022);
+#define stream_start() write_index(0x0022);
#define stream_stop()
#define delay(us) chThdSleepMicroseconds(us)
#define delayms(ms) chThdSleepMilliseconds(ms)
diff --git a/drivers/gdisp/SSD1289/gdisp_lld_board_firebullstm32f103.h b/drivers/gdisp/SSD1289/gdisp_lld_board_firebullstm32f103.h index bab13dda..9c5d18c0 100644 --- a/drivers/gdisp/SSD1289/gdisp_lld_board_firebullstm32f103.h +++ b/drivers/gdisp/SSD1289/gdisp_lld_board_firebullstm32f103.h @@ -48,7 +48,7 @@ static __inline void init_board(void) { // This should set the GPIO port up for the correct hardware config here
// Configure the pins to a well know state
- SET_RS; SET_RD; SET_RW; CLR_CS;
+ SET_RS; SET_RD; SET_WR; CLR_CS;
}
|