From e1f84a8008c0f34cfd16e586610f464fd1798766 Mon Sep 17 00:00:00 2001 From: marschap Date: Sun, 1 Oct 2006 17:59:52 +0000 Subject: [PATCH] bring all DEFAULT_* definitions into one place --- server/drivers/MtxOrb.c | 6 ------ server/drivers/MtxOrb.h | 3 +++ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/server/drivers/MtxOrb.c b/server/drivers/MtxOrb.c index 27e5ad1..e583afb 100644 --- a/server/drivers/MtxOrb.c +++ b/server/drivers/MtxOrb.c @@ -70,12 +70,6 @@ # define MTXORB_DEFAULT_Escape 'F' #endif -#define DEFAULT_SIZE "20x4" -#define DEFAULT_BACKLIGHT 1 -#define DEFAULT_TYPE "lcd" -/* #define CONFIG_FILE Non config file code removed by David GLAUDE */ -/* Above 5 lines added by Joris :( */ - #define IS_LCD_DISPLAY (p->MtxOrb_type == MTXORB_LCD) #define IS_LKD_DISPLAY (p->MtxOrb_type == MTXORB_LKD) #define IS_VFD_DISPLAY (p->MtxOrb_type == MTXORB_VFD) diff --git a/server/drivers/MtxOrb.h b/server/drivers/MtxOrb.h index 767a8f0..e958cc6 100644 --- a/server/drivers/MtxOrb.h +++ b/server/drivers/MtxOrb.h @@ -9,6 +9,9 @@ #define DEFAULT_LINEWRAP 1 #define DEFAULT_AUTOSCROLL 1 #define DEFAULT_CURSORBLINK 0 +#define DEFAULT_SIZE "20x4" +#define DEFAULT_BACKLIGHT 1 +#define DEFAULT_TYPE "lcd" MODULE_EXPORT int MtxOrb_init (Driver *drvthis);