diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/resistor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/resistor.c b/apps/plugins/resistor.c index a0bd94911a..06d3bf9d7a 100644 --- a/apps/plugins/resistor.c +++ b/apps/plugins/resistor.c | |||
@@ -801,8 +801,8 @@ static void resistance_to_color(void) | |||
801 | enum color units_used = 0; | 801 | enum color units_used = 0; |
802 | 802 | ||
803 | char out_str[20]; | 803 | char out_str[20]; |
804 | 804 | ||
805 | for(i=0; i<=10; i++) { kbd_buffer[i] = 0; } | 805 | memset(kbd_buffer,0,sizeof(kbd_buffer)); |
806 | /* This cleans out the mysterious garbage that appears */ | 806 | /* This cleans out the mysterious garbage that appears */ |
807 | rb->lcd_clear_display(); | 807 | rb->lcd_clear_display(); |
808 | rb->splash(HZ/2, "Resistance to Colour"); | 808 | rb->splash(HZ/2, "Resistance to Colour"); |