diff options
-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;
}
|