1.1 --- a/pkg/devices/lib/lcd/src/jz4740/lcd-jz4780.cc Fri Jan 14 23:15:46 2022 +0100
1.2 +++ b/pkg/devices/lib/lcd/src/jz4740/lcd-jz4780.cc Wed Jan 19 00:03:42 2022 +0100
1.3 @@ -3,7 +3,7 @@
1.4 *
1.5 * Copyright (C) Xiangfu Liu <xiangfu@sharism.cc>
1.6 * Copyright (C) 2015, 2016, 2017, 2018, 2020,
1.7 - * 2021 Paul Boddie <paul@boddie.org.uk>
1.8 + * 2021, 2022 Paul Boddie <paul@boddie.org.uk>
1.9 *
1.10 * This program is free software; you can redistribute it and/or
1.11 * modify it under the terms of the GNU General Public License as
1.12 @@ -117,7 +117,7 @@
1.13 desc.offset = 0;
1.14 desc.page_width = 0;
1.15
1.16 - desc.command_position = (1U << Position_coefficient) |
1.17 + desc.command_position = (Position_coefficient_1 << Position_coefficient) |
1.18 _position_bpp();
1.19
1.20 desc.fg_size = (0xff << Alpha_size_alpha) |