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