Revert "lcd framebuffer - Bugfix ensure proper alignment"

This reverts commit ffee661ab7.

Reason for revert: <INSERT REASONING HERE>
iAudio M5  `IRAM' overflowed by 48 bytes

Change-Id: Id808a72c6eacabc562d53eac8acd36b45f678a97
This commit is contained in:
William Wilgus 2021-03-24 18:44:35 +00:00
parent ffee661ab7
commit ed99b305a9
5 changed files with 12 additions and 10 deletions

View file

@ -73,10 +73,10 @@ static struct viewport default_vp =
.height = LCDM(HEIGHT),
.font = FONT_SYSFIXED,
.drawmode = DRMODE_SOLID,
.buffer = &LCDFN(framebuffer_default),
.buffer = NULL,
};
struct viewport* CURRENT_VP MEM_ALIGN_ATTR = NULL;
struct viewport* CURRENT_VP;
static void *LCDFN(frameaddress_default)(int x, int y)
{
@ -94,6 +94,7 @@ static void *LCDFN(frameaddress_default)(int x, int y)
/* LCD init */
void LCDFN(init)(void)
{
/* Initialize the viewport */
LCDFN(set_viewport)(NULL);
LCDFN(clear_display)();