diff options
Diffstat (limited to 'apps/plugins/nim.c')
-rw-r--r-- | apps/plugins/nim.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/plugins/nim.c b/apps/plugins/nim.c index 3301277410..07e41ffe3e 100644 --- a/apps/plugins/nim.c +++ b/apps/plugins/nim.c | |||
@@ -19,6 +19,7 @@ | |||
19 | * | 19 | * |
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | #include "plugin.h" | 21 | #include "plugin.h" |
22 | #include "lib/pluginlib_exit.h" | ||
22 | 23 | ||
23 | #ifdef HAVE_LCD_CHARCELLS | 24 | #ifdef HAVE_LCD_CHARCELLS |
24 | 25 | ||
@@ -122,10 +123,8 @@ static void display_first_line(int x) | |||
122 | } | 123 | } |
123 | 124 | ||
124 | /* Call when the program end */ | 125 | /* Call when the program end */ |
125 | static void nim_exit(void *parameter) | 126 | static void nim_exit(void) |
126 | { | 127 | { |
127 | (void)parameter; | ||
128 | |||
129 | /*Restore the old pattern*/ | 128 | /*Restore the old pattern*/ |
130 | rb->lcd_unlock_pattern(h1); | 129 | rb->lcd_unlock_pattern(h1); |
131 | rb->lcd_unlock_pattern(h2); | 130 | rb->lcd_unlock_pattern(h2); |