1.1 --- a/include/vga_display.h Wed Oct 24 15:31:56 2018 +0200
1.2 +++ b/include/vga_display.h Wed Oct 24 15:46:42 2018 +0200
1.3 @@ -38,10 +38,9 @@
1.4 void (*update_visible)();
1.5 void (*stop_visible)();
1.6
1.7 - /* Vertical sync operations. */
1.8 + /* Horizontal and vertical sync peripherals. */
1.9
1.10 - void (*vsync_high)();
1.11 - void (*vsync_low)();
1.12 + int timer, hsync_unit, vsync_unit;
1.13
1.14 /* Current scanline. */
1.15
1.16 @@ -64,9 +63,7 @@
1.17 void init_vga(display_config_t *display_config,
1.18 void (*start_visible)(),
1.19 void (*update_visible)(),
1.20 - void (*stop_visible)(),
1.21 - void (*vsync_high)(),
1.22 - void (*vsync_low)());
1.23 + void (*stop_visible)());
1.24
1.25 void vga_configure_sync(int hsync_unit, int vsync_unit, int timer);
1.26
1.27 @@ -81,4 +78,9 @@
1.28 void vfp_active(void);
1.29 void vsync_active(void);
1.30
1.31 +/* Vertical sync operations. */
1.32 +
1.33 +void vsync_high(void);
1.34 +void vsync_low(void);
1.35 +
1.36 #endif /* __VGA_DISPLAY_H__ */