MtxOrb driver: fix VFD/VKD support (Ethan Dicks)

This commit is contained in:
marschap
2007-05-13 12:48:41 +00:00
parent 6d1240be95
commit 19af8a8697
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -750,7 +750,7 @@ MtxOrb_backlight (Driver *drvthis, int on)
: p->offbrightness;
if (IS_VKD_DISPLAY) {
unsigned char out[5] = { '\xFE', '\x89', 0 };
unsigned char out[5] = { '\xFE', 'Y', 0 };
/* map range [0, 1000] -> [0, 3] that the hardware understands */
out[2] = (unsigned char) ((long) promille * 3 / 1000);
+1 -1
View File
@@ -9,7 +9,7 @@
#define DEFAULT_DEVICE "/dev/lcd"
#define DEFAULT_SPEED 19200
#define DEFAULT_LINEWRAP 1
#define DEFAULT_AUTOSCROLL 1
#define DEFAULT_AUTOSCROLL 0
#define DEFAULT_CURSORBLINK 0
#define DEFAULT_SIZE "20x4"
#define DEFAULT_BACKLIGHT 1