Move shadow buffer of LCD to CCMRAM
This commit is contained in:
parent
828b47f3be
commit
a33154b2d0
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user