Make function static, save 38B flash.

This commit is contained in:
Marek Bel 2018-08-03 15:32:28 +02:00
parent 373b4a1ea9
commit a85d5948c3

View File

@ -157,7 +157,7 @@ uint8_t lcd_write(uint8_t value)
return 1; // assume sucess return 1; // assume sucess
} }
void lcd_begin(uint8_t cols, uint8_t lines, uint8_t dotsize, uint8_t clear) static void lcd_begin(uint8_t cols, uint8_t lines, uint8_t dotsize, uint8_t clear)
{ {
if (lines > 1) lcd_displayfunction |= LCD_2LINE; if (lines > 1) lcd_displayfunction |= LCD_2LINE;
lcd_numlines = lines; lcd_numlines = lines;