remove string in trace call

so as to decrease sketch size
This commit is contained in:
Florian committed 2018-05-16 21:56:29 +02:00
1 parent 645c733910
commit c0fca71619
15 files changed
+91 -72

No files matched your search

+2 -2
View File
@@ -50,14 +50,14 @@ void MeasureTempAndHum(){
}else{
if(h != persistedh || dht_always){
trc(F("Sending Hum to MQTT"));
trc(String(h));
trc(h);
client.publish(HUM1,String(h).c_str());
}else{
trc(F("Same hum don't send it"));
}
if(t != persistedt || dht_always){
trc(F("Sending Temp to MQTT"));
trc(String(t));
trc(t);
client.publish(TEMP1, String(t).c_str());
}else{
trc(F("Same temp don't send it"));