From 45aa4742aa0d4e62c9119e8a5eea2e2582e9f415 Mon Sep 17 00:00:00 2001 From: trsaunders Date: Tue, 19 Jun 2012 23:35:16 +0100 Subject: [PATCH] added warning --- glcd.h | 1 + glcdconf.h | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/glcd.h b/glcd.h index 29d43954..bda5013d 100644 --- a/glcd.h +++ b/glcd.h @@ -72,6 +72,7 @@ struct GLCDDriver { /** @brief Virtual Methods Table.*/ const struct GLCDDriverVMT *vmt; _base_asynchronous_channel_data + /* WARNING: Do not add any data to this struct above this comment, only below */ }; #ifdef __cplusplus diff --git a/glcdconf.h b/glcdconf.h index 323386bf..f8cb83cd 100644 --- a/glcdconf.h +++ b/glcdconf.h @@ -8,14 +8,14 @@ /***** LCD INTERFACE *****/ -// #define LCD_USE_GPIO + #define LCD_USE_GPIO // #define LCD_USE_SPI -#define LCD_USE_FSMC +//#define LCD_USE_FSMC /***** TOUCHPAD CONTROLLER *****/ // #define TOUCHPAD_USE_ADS7843 -//#define TOUCHPAD_USE_XPT2046 +#define TOUCHPAD_USE_XPT2046 #endif