SSD1289 fix
This commit is contained in:
parent
2c337b8dc8
commit
4119264fd6
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue