added lcdconf.h

This commit is contained in:
Tectu 2012-06-11 18:12:05 +02:00
parent e8c4fc8e31
commit 4c90a487f7
2 changed files with 9 additions and 2 deletions

View File

@ -1,6 +1,10 @@
#ifndef S6D1121_H
#define S6D1121_H
#include "glcd.h"
#include "lcdconf.h"
#ifdef LCD_USE_S6D1121
// I/O assignments
#define LCD_BL_GPIO GPIOB
@ -36,4 +40,5 @@ uint16_t lld_lcdGetHeight(void);
uint16_t lld_lcdGetWidth(void);
#endif
#endif

View File

@ -1,9 +1,10 @@
#ifndef SSD1289_H
#define SSD1289_H
#ifndef LCD_USE_SSD1289
#include "glcd.h"
#include "lcdconf.h"
#ifdef LCD_USE_SSD1289
#define Set_CS palSetPad(LCD_CMD_PORT, LCD_CS);
#define Clr_CS palClearPad(LCD_CMD_PORT, LCD_CS);
@ -27,3 +28,4 @@ uint16_t lld_lcdGetWidth(void);
#endif
#endif