diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index ffaf1a63d2..c8eaf1545c 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h @@ -27,6 +27,7 @@ #include "cpu.h" #include "config.h" #include "events.h" +#include "system.h" /* Frame buffer stride @@ -165,9 +166,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