1.1 --- a/pkg/devices/lib/lcd/src/jz4740/lcd-jz4780.cc Fri Jan 14 22:30:38 2022 +0100
1.2 +++ b/pkg/devices/lib/lcd/src/jz4740/lcd-jz4780.cc Fri Jan 14 23:15:46 2022 +0100
1.3 @@ -117,8 +117,7 @@
1.4 desc.offset = 0;
1.5 desc.page_width = 0;
1.6
1.7 - desc.command_position = (1U << Position_premultiply_lcd) |
1.8 - (1U << Position_coefficient) |
1.9 + desc.command_position = (1U << Position_coefficient) |
1.10 _position_bpp();
1.11
1.12 desc.fg_size = (0xff << Alpha_size_alpha) |
1.13 @@ -158,7 +157,7 @@
1.14
1.15 // Configure DMA by setting frame descriptor addresses.
1.16
1.17 - // Provide the palette descriptor address first, if employed.
1.18 + // Provide a descriptor for the first DMA channel.
1.19
1.20 _regs[Desc_address_0] = (uint32_t) desc_paddr;
1.21