1.1 --- a/examples/vga-pmp/main.c Wed Oct 24 18:11:22 2018 +0200
1.2 +++ b/examples/vga-pmp/main.c Wed Oct 24 18:15:08 2018 +0200
1.3 @@ -72,7 +72,6 @@
1.4
1.5 init_dma();
1.6 init_pm();
1.7 - init_vga(&display_config, 1, -1);
1.8
1.9 /* Configure parallel master mode. */
1.10
1.11 @@ -80,6 +79,11 @@
1.12 pm_set_output(0, 1, 0);
1.13 pm_on(0);
1.14
1.15 + /* Initialise VGA output structures with a single line channel and no
1.16 + initiating channel. */
1.17 +
1.18 + init_vga(&display_config, 1, -1);
1.19 +
1.20 /* Configure VGA output transfer details along with a timer and output
1.21 compare units for horizontal and vertical sync. */
1.22