diff --git a/devicemodel/core/console.c b/devicemodel/core/console.c index 4e7d81ad0..56530b368 100644 --- a/devicemodel/core/console.c +++ b/devicemodel/core/console.c @@ -54,13 +54,6 @@ console_get_image(void) return image; } -void -console_fb_register(fb_render_func_t render_cb, void *arg) -{ - console.fb_render_cb = render_cb; - console.fb_arg = arg; -} - void console_refresh(void) { diff --git a/devicemodel/include/console.h b/devicemodel/include/console.h index c7f938971..a9fa0abac 100644 --- a/devicemodel/include/console.h +++ b/devicemodel/include/console.h @@ -37,7 +37,6 @@ typedef void (*ptr_event_func_t)(uint8_t mask, int x, int y, void *arg); struct gfx_ctx_image *console_get_image(void); -void console_fb_register(fb_render_func_t render_cb, void *arg); void console_refresh(void); void console_kbd_register(kbd_event_func_t event_cb, void *arg, int pri);