1.1 --- a/pkg/devices/lcd/src/jz4740/lcd-jz4740-device.cc Sat Jan 30 23:39:17 2021 +0100
1.2 +++ b/pkg/devices/lcd/src/jz4740/lcd-jz4740-device.cc Sun Jan 31 00:49:22 2021 +0100
1.3 @@ -64,7 +64,8 @@
1.4 // 1.5 times that of the pixel clock, and a STN panel needs a device clock 3
1.5 // times that of the pixel clock.
1.6
1.7 - cpm_device->set_lcd_frequencies(pclk, 3);
1.8 + cpm_device->set_frequency(Clock_frequency_lcd, pclk * 3);
1.9 + cpm_device->set_frequency(Clock_frequency_lcd_pixel, pclk);
1.10 cpm_device->update_output_frequency();
1.11 cpm_device->start_clock(Clock_lcd);
1.12