瀏覽代碼

Make function static, save 38B flash.

Marek Bel 6 年之前
父節點
當前提交
a85d5948c3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Firmware/lcd.cpp

+ 1 - 1
Firmware/lcd.cpp

@@ -157,7 +157,7 @@ uint8_t lcd_write(uint8_t value)
 	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;
 	lcd_numlines = lines;