Move shadow buffer of LCD to CCMRAM

This commit is contained in:
Mario Hüttel 2020-06-14 18:02:45 +02:00
parent 828b47f3be
commit a33154b2d0

View File

@ -149,7 +149,7 @@ static void lcd_command(uint8_t data)
// Set DD RAM Address --------- 0b1xxxxxxx (Display Data RAM) // Set DD RAM Address --------- 0b1xxxxxxx (Display Data RAM)
#define LCD_SET_DDADR 0x80 #define LCD_SET_DDADR 0x80
static char shadow_display[4][21]; static char __attribute__((section(".ccmram"))) shadow_display[4][21];
void lcd_clear(void) void lcd_clear(void)
{ {