aboutsummaryrefslogtreecommitdiff
path: root/display.h
diff options
context:
space:
mode:
Diffstat (limited to 'display.h')
-rw-r--r--display.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/display.h b/display.h
index 771323c..ab8c078 100644
--- a/display.h
+++ b/display.h
@@ -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 *);