From e2aacd374449803a10b5c7f7e54cc63c18961d45 Mon Sep 17 00:00:00 2001 From: Tectu Date: Thu, 7 Jun 2012 21:38:30 +0200 Subject: [PATCH] cleanups --- glcd.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/glcd.h b/glcd.h index b9485812..fcb5461d 100644 --- a/glcd.h +++ b/glcd.h @@ -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);