1.1 --- a/examples/vga/main.c Wed Oct 24 15:31:56 2018 +0200
1.2 +++ b/examples/vga/main.c Wed Oct 24 15:46:42 2018 +0200
1.3 @@ -67,8 +67,7 @@
1.4
1.5 void main(void)
1.6 {
1.7 - init_vga(&display_config, start_visible, update_visible, stop_visible,
1.8 - vsync_high, vsync_low);
1.9 + init_vga(&display_config, start_visible, update_visible, stop_visible);
1.10
1.11 test_linedata(&display_config);
1.12
1.13 @@ -169,24 +168,6 @@
1.14 dma_off(0);
1.15 }
1.16
1.17 -/* Bring vsync low (single compare, output driven low) when the next line
1.18 - starts. */
1.19 -
1.20 -void vsync_low(void)
1.21 -{
1.22 - oc_init(2, 0b010, 2);
1.23 - oc_on(2);
1.24 -}
1.25 -
1.26 -/* Bring vsync high (single compare, output driven high) when the next line
1.27 - starts. */
1.28 -
1.29 -void vsync_high(void)
1.30 -{
1.31 - oc_init(2, 0b001, 2);
1.32 - oc_on(2);
1.33 -}
1.34 -
1.35
1.36
1.37 /* Peripheral pin configuration. */