diff options
-rw-r--r-- | drivers/ssd1289_lld.h | 9 | ||||
-rw-r--r-- | glcd.h | 9 |
2 files changed, 9 insertions, 9 deletions
diff --git a/drivers/ssd1289_lld.h b/drivers/ssd1289_lld.h index 650ceb04..bfcfe105 100644 --- a/drivers/ssd1289_lld.h +++ b/drivers/ssd1289_lld.h @@ -5,6 +5,15 @@ #include "glcd.h" +#define Set_CS palSetPad(LCD_CMD_PORT, LCD_CS); +#define Clr_CS palClearPad(LCD_CMD_PORT, LCD_CS); +#define Set_RS palSetPad(LCD_CMD_PORT, LCD_RS); +#define Clr_RS palClearPad(LCD_CMD_PORT, LCD_RS); +#define Set_WR palSetPad(LCD_CMD_PORT, LCD_WR); +#define Clr_WR palClearPad(LCD_CMD_PORT, LCD_WR); +#define Set_RD palSetPad(LCD_CMD_PORT, LCD_RD); +#define Clr_RD palClearPad(LCD_CMD_PORT, LCD_RD); + void lld_lcdInit(void); void lld_lcdSetCursor(uint16_t x, uint16_t y); void lld_lcdSetOrientation(uint8_t newOrientation); @@ -12,15 +12,6 @@ #define PORTRAIT (lcdGetOrientation() == portrait || lcdGetOrientation() == portraitInv)
#define LANDSCAPE (lcdGetOrientation() == landscape || lcdGetOrientation() == landscapeInv)
-#define Set_CS palSetPad(LCD_CMD_PORT, LCD_CS);
-#define Clr_CS palClearPad(LCD_CMD_PORT, LCD_CS);
-#define Set_RS palSetPad(LCD_CMD_PORT, LCD_RS);
-#define Clr_RS palClearPad(LCD_CMD_PORT, LCD_RS);
-#define Set_WR palSetPad(LCD_CMD_PORT, LCD_WR);
-#define Clr_WR palClearPad(LCD_CMD_PORT, LCD_WR);
-#define Set_RD palSetPad(LCD_CMD_PORT, LCD_RD);
-#define Clr_RD palClearPad(LCD_CMD_PORT, LCD_RD);
-
/* LCD color */
#define White 0xFFFF
#define Black 0x0000
|