byte-swap our jpegs, it's better for our TFTs and such
This commit is contained in:
parent
f7b9a516d8
commit
db07775ca6
1 changed files with 1 additions and 1 deletions
|
|
@ -945,7 +945,7 @@ static JRESULT mcu_output (
|
|||
w = (*s++ & 0xF8) << 8; /* RRRRR----------- */
|
||||
w |= (*s++ & 0xFC) << 3; /* -----GGGGGG----- */
|
||||
w |= *s++ >> 3; /* -----------BBBBB */
|
||||
*d++ = w;
|
||||
*d++ = __builtin_bswap16(w);
|
||||
} while (--n);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue