From aec36f1ae273b1770b2bfade9ad4315762df710e Mon Sep 17 00:00:00 2001 From: Silver Kits Date: Tue, 4 Oct 2016 21:52:54 +0300 Subject: [PATCH] Fix LCD lib include paths and header file --- lib/hd44780_111/hd44780.c | 8 ++++++-- lib/hd44780_111/hd44780.h | 4 +--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/hd44780_111/hd44780.c b/lib/hd44780_111/hd44780.c index ca266ac..d0db4bd 100755 --- a/lib/hd44780_111/hd44780.c +++ b/lib/hd44780_111/hd44780.c @@ -4,9 +4,13 @@ Author : SA Development Version: 1.11 *****************************************************************************/ -#include "avr\pgmspace.h" +#include +#include +#include #include "hd44780.h" -#include "avr\sfr_defs.h" +#include "hd44780_settings.h" + + #if (USE_ADELAY_LIBRARY==1) #include "adelay.h" #else diff --git a/lib/hd44780_111/hd44780.h b/lib/hd44780_111/hd44780.h index 7b64f5c..dc07d67 100755 --- a/lib/hd44780_111/hd44780.h +++ b/lib/hd44780_111/hd44780.h @@ -7,10 +7,8 @@ Version: 1.11 #ifndef HD44780_H #define HD44780_H -#include "hd44780_settings.h" -#include "inttypes.h" -//LCD Constants for HD44780 +//LCD Commands for HD44780 #define LCD_CLR 0 // DB0: clear display #define LCD_HOME 1 // DB1: return to home position