Fix an issue with a special icon on the imon-lcd that does not get displayed
and switches vbars to "norrow style" (C. Leuschen)
This commit is contained in:
@@ -649,11 +649,11 @@ imonlcd_vbar(Driver *drvthis, int x, int y, int len, int promille, int options)
|
|||||||
PrivateData *p = drvthis->private_data;
|
PrivateData *p = drvthis->private_data;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* use the imonlcd_font full vbar characters and let lcd_lib do the
|
* use the imonlcd_font narrow vbar characters and let lcd_lib do the
|
||||||
* rest
|
* rest
|
||||||
*/
|
*/
|
||||||
lib_vbar_static(drvthis, x, y, len, promille, options,
|
lib_vbar_static(drvthis, x, y, len, promille, options,
|
||||||
p->cellheight, IMONLCD_FONT_START_VBAR_FULL - 1);
|
p->cellheight, IMONLCD_FONT_START_VBAR_NARROW-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -1034,7 +1034,7 @@ imonlcd_output(Driver *drvthis, int state)
|
|||||||
if (((state & IMON_OUTPUT_BMICONS_MASK) != 0)) {
|
if (((state & IMON_OUTPUT_BMICONS_MASK) != 0)) {
|
||||||
switch (((state & IMON_OUTPUT_BMICONS_MASK) >> 16)) {
|
switch (((state & IMON_OUTPUT_BMICONS_MASK) >> 16)) {
|
||||||
case 1:
|
case 1:
|
||||||
icon |= IMON_ICON_MPG;
|
icon |= IMON_ICON_MPG2;
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
icon |= IMON_ICON_AC3;
|
icon |= IMON_ICON_AC3;
|
||||||
|
|||||||
Reference in New Issue
Block a user