✏️ Commenting code - send humidity

This commit is contained in:
0x6f736f646f
2020-08-28 00:57:11 +03:00
parent f0c7377be6
commit 7f60596f31
+1
View File
@@ -399,6 +399,7 @@ void publishMessage(char *payload, const char *topic)
void sendHumidity(void)
{
// Sends humidity data to the broker
humidity = readHum();
snprintf(buffer, sizeof(buffer), "%.3f", humidity);
publishMessage(buffer, humidityTopic);