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);