From e43dbf13491793ed93330951f32c944b6e876ddb Mon Sep 17 00:00:00 2001 From: Christian Mittring Date: Tue, 17 Apr 2018 11:20:40 +0200 Subject: [PATCH] [Fixed]: Display Long Text wrong start. --- LichtWecker/LichtWecker.ino | 2 +- LichtWecker/display.ino | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LichtWecker/LichtWecker.ino b/LichtWecker/LichtWecker.ino index 4a6b79e..b26ebeb 100644 --- a/LichtWecker/LichtWecker.ino +++ b/LichtWecker/LichtWecker.ino @@ -17,7 +17,7 @@ //Default Settings String Hardware = "0.12"; -String Software = "0.11"; +String Software = "0.12"; String ntp_server = "ntp2.uni-augsburg.de"; bool ntp_update = true; diff --git a/LichtWecker/display.ino b/LichtWecker/display.ino index 3b954a6..d9d5948 100644 --- a/LichtWecker/display.ino +++ b/LichtWecker/display.ino @@ -23,7 +23,7 @@ void display_text(String text1, String text2){ int freespace(String text){ if (text.length() > 14) { - return 1; + return 0; } else{ int freespace = 16 - text.length();