SSD1289 fix

ugfx_release_2.6
Joel Bodenmann 2012-11-17 13:43:23 +01:00
parent 2c337b8dc8
commit 4119264fd6
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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;
}