MtxOrb driver: fix VFD/VKD support (Ethan Dicks)
This commit is contained in:
@@ -17,6 +17,7 @@ v.0.5dev (ongoing development)
|
|||||||
* overhauled CwLnx driver (Dave Platt)
|
* overhauled CwLnx driver (Dave Platt)
|
||||||
* overhauled picolcd driver (Nicu Pavel)
|
* overhauled picolcd driver (Nicu Pavel)
|
||||||
+ add ServerScreen=blank option value
|
+ add ServerScreen=blank option value
|
||||||
|
* MtxOrb driver: fix VFD/VKD support (Ethan Dicks)
|
||||||
|
|
||||||
v.0.5.2
|
v.0.5.2
|
||||||
* fix switching on/off the Load screen in lcdproc client using the menu
|
* fix switching on/off the Load screen in lcdproc client using the menu
|
||||||
|
|||||||
@@ -750,7 +750,7 @@ MtxOrb_backlight (Driver *drvthis, int on)
|
|||||||
: p->offbrightness;
|
: p->offbrightness;
|
||||||
|
|
||||||
if (IS_VKD_DISPLAY) {
|
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 */
|
/* map range [0, 1000] -> [0, 3] that the hardware understands */
|
||||||
out[2] = (unsigned char) ((long) promille * 3 / 1000);
|
out[2] = (unsigned char) ((long) promille * 3 / 1000);
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#define DEFAULT_DEVICE "/dev/lcd"
|
#define DEFAULT_DEVICE "/dev/lcd"
|
||||||
#define DEFAULT_SPEED 19200
|
#define DEFAULT_SPEED 19200
|
||||||
#define DEFAULT_LINEWRAP 1
|
#define DEFAULT_LINEWRAP 1
|
||||||
#define DEFAULT_AUTOSCROLL 1
|
#define DEFAULT_AUTOSCROLL 0
|
||||||
#define DEFAULT_CURSORBLINK 0
|
#define DEFAULT_CURSORBLINK 0
|
||||||
#define DEFAULT_SIZE "20x4"
|
#define DEFAULT_SIZE "20x4"
|
||||||
#define DEFAULT_BACKLIGHT 1
|
#define DEFAULT_BACKLIGHT 1
|
||||||
|
|||||||
Reference in New Issue
Block a user