diff options
Diffstat (limited to 'firmware/rolo.c')
-rw-r--r-- | firmware/rolo.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/firmware/rolo.c b/firmware/rolo.c index c5cfc5d77b..d78078cdd7 100644 --- a/firmware/rolo.c +++ b/firmware/rolo.c | |||
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | #define IRQ0_EDGE_TRIGGER 0x80 | 31 | #define IRQ0_EDGE_TRIGGER 0x80 |
32 | 32 | ||
33 | static void rolo_error(char *text) | 33 | static void rolo_error(const char *text) |
34 | { | 34 | { |
35 | lcd_clear_display(); | 35 | lcd_clear_display(); |
36 | lcd_puts(0, 0, "ROLO error:"); | 36 | lcd_puts(0, 0, "ROLO error:"); |
@@ -43,8 +43,10 @@ static void rolo_error(char *text) | |||
43 | } | 43 | } |
44 | 44 | ||
45 | /* these are in assembler file "descramble.S" */ | 45 | /* these are in assembler file "descramble.S" */ |
46 | extern unsigned short descramble(unsigned char* source, unsigned char* dest, int length); | 46 | extern unsigned short descramble(const unsigned char* source, |
47 | extern void rolo_restart(unsigned char* source, unsigned char* dest, int length); | 47 | unsigned char* dest, int length); |
48 | extern void rolo_restart(const unsigned char* source, unsigned char* dest, | ||
49 | int length); | ||
48 | 50 | ||
49 | /*************************************************************************** | 51 | /*************************************************************************** |
50 | * | 52 | * |
@@ -52,7 +54,7 @@ extern void rolo_restart(unsigned char* source, unsigned char* dest, int length) | |||
52 | * Filename must be a fully defined filename including the path and extension | 54 | * Filename must be a fully defined filename including the path and extension |
53 | * | 55 | * |
54 | ***************************************************************************/ | 56 | ***************************************************************************/ |
55 | int rolo_load(char* filename) | 57 | int rolo_load(const char* filename) |
56 | { | 58 | { |
57 | int fd; | 59 | int fd; |
58 | unsigned long length; | 60 | unsigned long length; |