diff --git a/README.md b/README.md index e174a2931f76c842d629c944148ff1357fb93c19..84165e45683c48074b19fa3033a032eb4ca7c830 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -# Additions during and by workgroup of pervasive computing +# Additions by pervasive computing workgroup + ## Time Tracking diff --git a/ampel-firmware/mqtt.cpp b/ampel-firmware/mqtt.cpp index ddb10848f6a13d8638bdffaa8c4a2c8c2e95accb..80a7f5bbc5659311b219243c9c3e9879c6cb028c 100644 --- a/ampel-firmware/mqtt.cpp +++ b/ampel-firmware/mqtt.cpp @@ -39,7 +39,7 @@ namespace mqtt { void initialize(const char *sensorId) { json_sensor_format = PSTR("{\"time\":\"%s\", \"co2\":%d, \"temp\":%.1f, \"rh\":%.1f}"); - snprintf(publish_topic, sizeof(publish_topic), "%s%s", config::mqtt_topic_prefix, sensorId); + snprintf(publish_topic, sizeof(publish_topic), "%s%s", config::mqtt_topic_prefix, sensorId); //TODO if (config::mqtt_encryption) { // The sensor doesn't check the fingerprint of the MQTT broker, because otherwise this fingerprint should be updated