summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2021-03-25 06:33:17 +0000
committerWilliam Wilgus <me.theuser@yahoo.com>2021-03-25 06:34:58 +0000
commit3d9d2de34d3794f6cb35f41adcd705b85af24924 (patch)
treeab5ddacd03edae3b81a86cf66bae9a2e21a56d9b /firmware
parent3a5c5edbf6cb3ac5e4b65fe036ca50b41fabaa89 (diff)
Revert "lcd framebuffer - Bugfix #2 ensure proper alignment"
This reverts commit 3a5c5edbf6cb3ac5e4b65fe036ca50b41fabaa89. Reason for revert:pulling in system.h breaks SDL :( Change-Id: Ied5e08de4770aa0da87c14b304480448db349423
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/lcd.h3
1 files changed, 1 insertions, 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