some minor correction after codacy checks (#82)

need to merge it before RFM69 pull request
This commit is contained in:
Florian authored and GitHub committed 2017-08-19 00:50:17 +02:00
1 parent b0907acc6c
commit 96167743c0
3 files changed
+3 -4

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
/*
/*
OpenMQTTGateway Addon - ESP8266 or Arduino program for home automation
Act as a wifi or ethernet gateway between your 433mhz/infrared IR signal and a MQTT broker
@@ -110,7 +110,7 @@ void MeasureLightIntensity()
// Generate Lux
if(Lux != persistedll || bh1750_always){
char lux[7];
sprintf(lux,"%d",Lux);
sprintf(lux,"%u",Lux);
trc(F("Sending Lux to MQTT"));
trc(String(lux));
client.publish(LUX,lux);