Alessandro Rubini <rubini-list at gnudd.com> wrote:
<snip>
> #elif LCD_BPP == LCD_COLOR16
> - for (c=0; c<16; ++c) {
> - *d++ = (bits & 0x80) ?
> - lcd_color_fg : lcd_color_bg;
> + for (c=0; c<8; ++c) {
> + *d++ = (bits & 0x80) ? 0xffff : 0;
I think we should use 'lcd_color_fg' and 'lcd_color_bg' here.
Best regards,
Anatolij