some minor correction after codacy checks (#82)
need to merge it before RFM69 pull request
This commit is contained in:
1 parent
b0907acc6c
commit
96167743c0
3 files changed
+3
-4
No files matched your search
+2
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user