diff options
author | Tectu <joel@unormal.org> | 2012-06-07 21:38:30 +0200 |
---|---|---|
committer | Tectu <joel@unormal.org> | 2012-06-07 21:38:30 +0200 |
commit | e2aacd374449803a10b5c7f7e54cc63c18961d45 (patch) | |
tree | 3b9b5ee77a5c2cc3a89e062c6300fab97b9ea130 | |
parent | d39e376c8b945f70afdf49a0cf7dc39e8d242a12 (diff) | |
download | uGFX-e2aacd374449803a10b5c7f7e54cc63c18961d45.tar.gz uGFX-e2aacd374449803a10b5c7f7e54cc63c18961d45.tar.bz2 uGFX-e2aacd374449803a10b5c7f7e54cc63c18961d45.zip |
cleanups
-rw-r--r-- | glcd.h | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -10,15 +10,6 @@ #define PORTRAIT (lcdGetOrientation() == portrait || lcdGetOrientation() == portraitInv)
#define LANDSCAPE (lcdGetOrientation() == landscape || lcdGetOrientation() == landscapeInv)
-/* uncomment if no board.h file used
-#define LCD_DATA_PORT GPIOE
-#define LCD_CMD_PORT GPIOD
-#define LCD_CS 12
-#define LCD_RS 13
-#define LCD_WR 14
-#define LCD_RD 15
-*/
-
#define Set_CS LCD_CMD_PORT->ODR |= (1 << LCD_CS);
#define Clr_CS LCD_CMD_PORT->ODR &= ~(1 << LCD_CS);
#define Set_RS LCD_CMD_PORT->ODR |= (1 << LCD_RS);
|