summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/drivers/lcd.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/firmware/drivers/lcd.c b/firmware/drivers/lcd.c
index 058ba1dedf..5a08b55930 100644
--- a/firmware/drivers/lcd.c
+++ b/firmware/drivers/lcd.c
@@ -174,6 +174,7 @@ static int scroll_count = 0;
174 174
175#define ASM_IMPLEMENTATION 175#define ASM_IMPLEMENTATION
176 176
177static void lcd_write(bool command, int byte) __attribute__ ((section (".icode")));
177static void lcd_write(bool command, int byte) 178static void lcd_write(bool command, int byte)
178 179
179#ifdef ASM_IMPLEMENTATION 180#ifdef ASM_IMPLEMENTATION
@@ -574,11 +575,13 @@ void lcd_init (void)
574 575
575/* 576/*
576 * Update the display. 577 * Update the display.
577 * This must be called after all other LCD funtions that change the display. 578 * This must be called after all other LCD functions that change the display.
578 */ 579 */
580void lcd_update (void) __attribute__ ((section (".icode")));
579void lcd_update (void) 581void lcd_update (void)
580{ 582{
581 int x, y; 583 int x, y;
584
582 /* Copy display bitmap to hardware */ 585 /* Copy display bitmap to hardware */
583 for (y = 0; y < LCD_HEIGHT/8; y++) 586 for (y = 0; y < LCD_HEIGHT/8; y++)
584 { 587 {
@@ -771,6 +774,8 @@ void lcd_putsxy(int x, int y, unsigned char *str, int thisfont)
771 * clear is true to clear destination area first 774 * clear is true to clear destination area first
772 */ 775 */
773void lcd_bitmap (unsigned char *src, int x, int y, int nx, int ny, 776void lcd_bitmap (unsigned char *src, int x, int y, int nx, int ny,
777 bool clear) __attribute__ ((section (".icode")));
778void lcd_bitmap (unsigned char *src, int x, int y, int nx, int ny,
774 bool clear) 779 bool clear)
775{ 780{
776 unsigned char *dst; 781 unsigned char *dst;