[Fixed]: Display Long Text wrong start.

This commit is contained in:
Christian Mittring
2018-04-17 11:20:40 +02:00
parent fac228f186
commit e43dbf1349
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@
//Default Settings //Default Settings
String Hardware = "0.12"; String Hardware = "0.12";
String Software = "0.11"; String Software = "0.12";
String ntp_server = "ntp2.uni-augsburg.de"; String ntp_server = "ntp2.uni-augsburg.de";
bool ntp_update = true; bool ntp_update = true;

View File

@@ -23,7 +23,7 @@ void display_text(String text1, String text2){
int freespace(String text){ int freespace(String text){
if (text.length() > 14) if (text.length() > 14)
{ {
return 1; return 0;
} }
else{ else{
int freespace = 16 - text.length(); int freespace = 16 - text.length();