fixed: bitx11 used the wrong bit order

This commit is contained in:
Bob van Loosen 2013-02-20 22:11:23 +01:00
parent f1da87ef6d
commit 700ec3abf2

View file

@ -212,7 +212,7 @@ void CBitX11::Process()
int quanterror;
uint8_t* ledpos = ledline;
int ledcounter = 0;
int ledcounter = 3;
while (line != lineend)
{
@ -228,10 +228,10 @@ void CBitX11::Process()
quantval = 0;
}
ledcounter++;
if (ledcounter == 4)
ledcounter--;
if (ledcounter == -1)
{
ledcounter = 0;
ledcounter = 3;
ledpos++;
}