Bug #313 » smartxxlcd.cpp.patch
xbmc/lib/smartXX/smartxxlcd.cpp (working copy) | ||
---|---|---|
if (iNewLevel==41) iNewLevel=42;
|
||
// 42 = x0101010 e.g half on
|
||
int itemp = iNewLevel&127|128;
|
||
/*
|
||
7 Bit Pulse Wide Modulation (PWM) output controll register:
|
||
bit 7 not used
|
||
... | ... | |
Value Range: 0 - 127
|
||
mask top bit (7)
|
||
*/
|
||
_outp(0xF701, itemp);
|
||
_outp(DISP_O_CONTRAST, iNewLevel&127|128);
|
||
}
|
||
else if ( g_sysinfo.SmartXXModCHIP().Equals("SmartXX OPX"))
|
||
{
|
- « Previous
- 1
- 2
- Next »