diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/lcd.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/firmware/drivers/lcd.c b/firmware/drivers/lcd.c index 427f5d6562..9cecf56e18 100644 --- a/firmware/drivers/lcd.c +++ b/firmware/drivers/lcd.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include "thread.h" | 23 | #include "thread.h" |
24 | #include <string.h> | 24 | #include <string.h> |
25 | #include <stdlib.h> | 25 | #include <stdlib.h> |
26 | #include "file.h" | ||
26 | 27 | ||
27 | /*** definitions ***/ | 28 | /*** definitions ***/ |
28 | 29 | ||
@@ -102,13 +103,13 @@ | |||
102 | /*** generic code ***/ | 103 | /*** generic code ***/ |
103 | 104 | ||
104 | struct scrollinfo { | 105 | struct scrollinfo { |
105 | char text[257]; | 106 | char text[MAX_PATH]; |
106 | char line[32]; | 107 | char line[32]; |
107 | int textlen; | 108 | int textlen; |
108 | char offset; | 109 | int offset; |
109 | char startx; | 110 | int startx; |
110 | char starty; | 111 | int starty; |
111 | char space; | 112 | int space; |
112 | }; | 113 | }; |
113 | 114 | ||
114 | static void scroll_thread(void); | 115 | static void scroll_thread(void); |