From 3dcda0873554914d241701d4c22d8869b9ebcdec Mon Sep 17 00:00:00 2001 From: Bobby Walker Date: Sat, 21 Dec 2019 18:50:33 -0600 Subject: [PATCH] Corrected ip and ssid to be knownIp and knownSsid --- usermods/ssd1306_i2c_oled_u8g2/wled06_usermod.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usermods/ssd1306_i2c_oled_u8g2/wled06_usermod.ino b/usermods/ssd1306_i2c_oled_u8g2/wled06_usermod.ino index 6493cb58..c70e1df0 100644 --- a/usermods/ssd1306_i2c_oled_u8g2/wled06_usermod.ino +++ b/usermods/ssd1306_i2c_oled_u8g2/wled06_usermod.ino @@ -80,9 +80,9 @@ void userLoop() { // First row with Wifi name u8x8.setCursor(1, 0); - u8x8.print(ssid.substring(0, u8x8.getCols() > 1 ? u8x8.getCols() - 2 : 0)); + u8x8.print(knownSsid.substring(0, u8x8.getCols() > 1 ? u8x8.getCols() - 2 : 0)); // Print `~` char to indicate that SSID is longer, than owr dicplay - if (ssid.length() > u8x8.getCols()) + if (knownSsid.length() > u8x8.getCols()) u8x8.print("~"); // Second row with IP or Psssword @@ -91,7 +91,7 @@ void userLoop() { if (apActive && bri == 0) u8x8.print(apPass); else - u8x8.print(ip); + u8x8.print(knownIp); // Third row with mode name u8x8.setCursor(2, 2);