From 569316a8ae1653993779010cf6765ccf85d775f7 Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Fri, 2 Oct 2015 03:27:13 -0400 Subject: [PATCH] Fixed init issue with EIGHT_BIT_ARBITRARY_PIN_MODE Signed-off-by: Collin J. Doering --- lcdLib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lcdLib.c b/lcdLib.c index 607c44a..5e38cd9 100644 --- a/lcdLib.c +++ b/lcdLib.c @@ -276,8 +276,8 @@ void initLCD (void) { _delay_us(LCD_INIT_DELAY2); // Wait minimum 100us as per datasheet softwareLCDInitPulse(); -#if defined (FOUR_BIT_MODE) || defined (EIGHT_BIT_ARBITRARY_PIN_MODE) - // Function Set (4-bit interface; 2 liens with 5x7 dot character font) +#if defined (FOUR_BIT_MODE) + // Function Set (4-bit interface; 2 lines with 5x7 dot character font) writeLCDNibble_(CMD_INIT_FOUR_BIT); writeLCDInstr_(CMD_INIT_FOUR_BIT | (1 << INSTR_FUNC_SET_N)); #else