From 3d9d2de34d3794f6cb35f41adcd705b85af24924 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Thu, 25 Mar 2021 06:33:17 +0000 Subject: [PATCH] Revert "lcd framebuffer - Bugfix #2 ensure proper alignment" This reverts commit 3a5c5edbf6cb3ac5e4b65fe036ca50b41fabaa89. Reason for revert:pulling in system.h breaks SDL :( Change-Id: Ied5e08de4770aa0da87c14b304480448db349423 --- firmware/export/lcd.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index c8eaf1545c..ffaf1a63d2 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h @@ -27,7 +27,6 @@ #include "cpu.h" #include "config.h" #include "events.h" -#include "system.h" /* Frame buffer stride @@ -166,9 +165,9 @@ struct frame_buffer_t { fb_remote_data *fb_remote_ptr; #endif }; + void *(*get_address_fn)(int x, int y); ptrdiff_t stride; size_t elems; - void *(*get_address_fn)(int x, int y) MEM_ALIGN_ATTR; }; #define VP_FLAG_ALIGN_RIGHT 0x01