bring all DEFAULT_* definitions into one place

This commit is contained in:
marschap
2006-10-01 17:59:52 +00:00
parent 53bcc0b268
commit e1f84a8008
2 changed files with 3 additions and 6 deletions
-6
View File
@@ -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)
+3
View File
@@ -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);