From 52e8a939459d77336474756a2d60ad42a9e74460 Mon Sep 17 00:00:00 2001 From: Neil McKechnie Date: Thu, 22 Jul 2021 21:49:09 +0100 Subject: [PATCH 1/2] Fix LCD corruption on power-up. LCD was not working correctly on power up, but was subsequently OK on reset. Problem was caused by an uninitialised variable. --- LiquidCrystal_I2C.cpp | 2 +- version.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/LiquidCrystal_I2C.cpp b/LiquidCrystal_I2C.cpp index 30faad3..1697d70 100644 --- a/LiquidCrystal_I2C.cpp +++ b/LiquidCrystal_I2C.cpp @@ -47,7 +47,7 @@ LiquidCrystal_I2C::LiquidCrystal_I2C(uint8_t lcd_Addr, uint8_t lcd_cols, lcdRows = lcd_rows; lcdCols = lcd_cols; - _backlightval &= ~LCD_BACKLIGHT; + _backlightval = 0; I2CManager.begin(); I2CManager.setClock(100000L); // PCF8574 is spec'd to 100kHz. diff --git a/version.h b/version.h index 9b926cd..97b4ab8 100644 --- a/version.h +++ b/version.h @@ -3,7 +3,8 @@ #include "StringFormatter.h" -#define VERSION "3.1.4" +#define VERSION "3.1.5" +// 3.1.5 Fix LCD corruption on power-up // 3.1.4 Refactor OLED and LCD drivers and remove unused code // 3.1.3 Add a loop delay to give more time for sensing an Ethernet cable connection // 3.1.2 Eliminate wait after write when prog is joined or prog power is off From 129d1c20396e15b66ec120ec32fe2b9e201c085a Mon Sep 17 00:00:00 2001 From: Neil McKechnie Date: Thu, 22 Jul 2021 20:49:33 +0000 Subject: [PATCH 2/2] Committing a SHA --- GITHUB_SHA.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GITHUB_SHA.h b/GITHUB_SHA.h index cfb82e4..2192045 100644 --- a/GITHUB_SHA.h +++ b/GITHUB_SHA.h @@ -1 +1 @@ -#define GITHUB_SHA "38be1d6" +#define GITHUB_SHA "52e8a93"