diff options
Diffstat (limited to 'display.h')
-rw-r--r-- | display.h | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -8,7 +8,11 @@ #define C_IDLE (3) #define C_ASC (4) -void display_clear(void); -void display_init(void); -void display_write(const char *text); -void display_set_cursor(int x, int y); +struct display { + void (*clear)(void); + void (*init)(void); + void (*write)(const char *text); + void (*set_cursor)(int x, int y); +}; + +void get_system_display(struct display *); |