From c4f45ddc365c3cb5b7a5357d1062390a04a1a928 Mon Sep 17 00:00:00 2001 From: Neil McKechnie Date: Tue, 13 Apr 2021 23:13:27 +0100 Subject: [PATCH 1/4] Update SSD1306Ascii.cpp Fix handling of clear screen for the nanoEvery and nanoWifi. --- SSD1306Ascii.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SSD1306Ascii.cpp b/SSD1306Ascii.cpp index feb0f0d..c99383a 100644 --- a/SSD1306Ascii.cpp +++ b/SSD1306Ascii.cpp @@ -21,9 +21,9 @@ // Maximum number of bytes we can send per transmission is 32. -const uint8_t FLASH SSD1306AsciiWire::blankPixels[32] = +const uint8_t SSD1306AsciiWire::blankPixels[16] = {0x40, // First byte specifies data mode - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; //============================================================================== // SSD1306AsciiWire Method Definitions @@ -41,7 +41,7 @@ void SSD1306AsciiWire::clear(uint8_t columnStart, uint8_t columnEnd, setCursor(columnStart, r); // Position at start of row to be erased for (uint8_t c = columnStart; c <= columnEnd; c += maxBytes-1) { uint8_t len = min((uint8_t)(columnEnd-c+1), maxBytes-1) + 1; - I2CManager.write_P(m_i2cAddr, blankPixels, len); // Write up to 31 blank columns + I2CManager.write(m_i2cAddr, blankPixels, len); // Write up to 15 blank columns } } } From ca7d728b819948dcb9f154890e89e98958852a87 Mon Sep 17 00:00:00 2001 From: Neil McKechnie Date: Tue, 13 Apr 2021 23:11:08 +0000 Subject: [PATCH 2/4] 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 a4b04d0..f140b30 100644 --- a/GITHUB_SHA.h +++ b/GITHUB_SHA.h @@ -1 +1 @@ -#define GITHUB_SHA "8197e2b" +#define GITHUB_SHA "c4f45dd" From d12714d51e531c0fda8cd6d12a4457c45b964506 Mon Sep 17 00:00:00 2001 From: Fred Date: Tue, 20 Apr 2021 09:31:17 -0400 Subject: [PATCH 3/4] Update config.example.h Fix spelling of contain --- config.example.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.example.h b/config.example.h index b4751b5..396d3dd 100644 --- a/config.example.h +++ b/config.example.h @@ -60,7 +60,7 @@ The configuration file for DCC-EX Command Station // is set (recommended), that password will be used for AP mode. // The AP mode password must be at least 8 characters long. // -// Your SSID may not conain ``"'' (double quote, ASCII 0x22). +// Your SSID may not contain ``"'' (double quote, ASCII 0x22). #define WIFI_SSID "Your network name" // // WIFI_PASSWORD is the network password for your home network or if From c27aa3a2d27d17198baa67dc93625a5cace6dc3e Mon Sep 17 00:00:00 2001 From: Fred Date: Tue, 20 Apr 2021 13:31:38 +0000 Subject: [PATCH 4/4] 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 f140b30..b7ca85d 100644 --- a/GITHUB_SHA.h +++ b/GITHUB_SHA.h @@ -1 +1 @@ -#define GITHUB_SHA "c4f45dd" +#define GITHUB_SHA "d12714d"