diff options
Diffstat (limited to 'apps/plugins/lib')
-rw-r--r-- | apps/plugins/lib/xlcd_scroll.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/lib/xlcd_scroll.c b/apps/plugins/lib/xlcd_scroll.c index 8f55f4153e..f2fc71ea47 100644 --- a/apps/plugins/lib/xlcd_scroll.c +++ b/apps/plugins/lib/xlcd_scroll.c | |||
@@ -367,8 +367,8 @@ void xlcd_scroll_down(int count) | |||
367 | /* Scroll up */ | 367 | /* Scroll up */ |
368 | void xlcd_scroll_up(int count) | 368 | void xlcd_scroll_up(int count) |
369 | { | 369 | { |
370 | int bitcount, oldmode; | 370 | int bitcount=0, oldmode; |
371 | int blockcount, blocklen; | 371 | int blockcount=0, blocklen; |
372 | 372 | ||
373 | if ((unsigned) count >= LCD_HEIGHT) | 373 | if ((unsigned) count >= LCD_HEIGHT) |
374 | { | 374 | { |
@@ -561,8 +561,8 @@ void xlcd_scroll_up(int count) | |||
561 | /* Scroll up */ | 561 | /* Scroll up */ |
562 | void xlcd_scroll_down(int count) | 562 | void xlcd_scroll_down(int count) |
563 | { | 563 | { |
564 | int bitcount, oldmode; | 564 | int bitcount=0, oldmode; |
565 | int blockcount, blocklen; | 565 | int blockcount=0, blocklen; |
566 | 566 | ||
567 | if ((unsigned) count >= LCD_HEIGHT) | 567 | if ((unsigned) count >= LCD_HEIGHT) |
568 | { | 568 | { |