Skip to content
Snippets Groups Projects
Commit 342b9635 authored by Kyrre Ness Sjobaek's avatar Kyrre Ness Sjobaek
Browse files

inch->in, for same number of characters as mm. Also don't print channel number...

inch->in, for same number of characters as mm. Also don't print channel number on initialization of TXTsrv mode
parent e404b60c
No related branches found
No related tags found
No related merge requests found
......@@ -331,7 +331,7 @@ void readSPCinstrument(uint8_t ch) {
Serial.print("[mm]");
}
else{
Serial.print("[inch]");
Serial.print("[in]");
}
if (newMeasData != measData[ch]) {
......@@ -406,7 +406,7 @@ void HTTPserver () {
client.print(" mm");
}
else {
client.print(" inch");
client.print(" in");
}
client.println("</p>");
......@@ -474,8 +474,8 @@ void TXTserver (uint8_t ch) {
clients[i] = newClient;
clients_ch[i] = ch;
clients[i].print("CH=");
clients[i].println(ch);
//clients[i].print("CH=");
//clients[i].println(ch);
//Feed the new client some data right away
clients[i].print(measData[ch]);
......@@ -483,7 +483,7 @@ void TXTserver (uint8_t ch) {
clients[i].println("mm");
}
else {
clients[i].println("inch");
clients[i].println("in");
}
Serial.print("New connection for ch=");
......@@ -516,7 +516,7 @@ void TXTserver (uint8_t ch) {
clients[i].println("mm");
}
else {
clients[i].println("inch");
clients[i].println("in");
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment