From 260ec8ab0c1cff668a8bd209c28e5996a17993ff Mon Sep 17 00:00:00 2001 From: William Harrington Date: Wed, 7 Aug 2019 22:51:27 -0500 Subject: Add ifdef blocks if VFD is used for brightness --- lcd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lcd.c') diff --git a/lcd.c b/lcd.c index 5a4cede..8ebae1a 100755 --- a/lcd.c +++ b/lcd.c @@ -1,5 +1,4 @@ #include "lcd.h" -#include "conf.h" //LCD Functions Developed by electroSome @@ -108,7 +107,7 @@ void Lcd_Shift_Left(void) { } // For some VFD's like Noritake - +#ifdef VFD void Vfd_Set_Brightness(int level) { Lcd_Cmd(0x03); __delay_ms(11); @@ -116,4 +115,5 @@ void Vfd_Set_Brightness(int level) { ///////////////////////////////////////////////////// Lcd_Cmd(0x02); Lcd_Write_Char(level); -} \ No newline at end of file +} +#endif \ No newline at end of file -- cgit v1.2.3-54-g00ecf