From c24e56185cbd96191d685f87a49b94d0301b4e27 Mon Sep 17 00:00:00 2001 From: Federico Amedeo Izzo Date: Mon, 5 Oct 2020 20:28:27 +0200 Subject: [PATCH] graphics.h: removed getFramebuffer method --- openrtx/include/interfaces/graphics.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/openrtx/include/interfaces/graphics.h b/openrtx/include/interfaces/graphics.h index 89430086..25013b85 100644 --- a/openrtx/include/interfaces/graphics.h +++ b/openrtx/include/interfaces/graphics.h @@ -76,22 +76,6 @@ typedef struct color_t */ void graphics_init(); -/** - * This function calls the correspondent method of the low level interface display.h - * Get pointer to framebuffer. Being this a standard interface for all the - * low-level display drivers, this function returns a pointer to void: it's up - * to the caller performing the correct cast to one of the standard types used - * for color coding. - * Changes to the framebuffer will not be reflected on the display until - * graphics_render() or graphics_renderRows() are called. - * - * - * WARNING: no bound check is performed! Do not call free() on the pointer - * returned, doing so will destroy the framebuffer! - * @return pointer to framebuffer. - */ -void *graphics_getFrameBuffer(); - /** * This function calls the correspondent method of the low level interface display.h * It turns off backlight, shuts down backlight control and deallocates the framebuffer.