Skip to content

Commit 8b80c75

Browse files
committed
fix MQTT topic
1 parent 4f3c3ea commit 8b80c75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ int GetRssiAsQuality(int rssi)
125125

126126
const char *getMqttTopic(String part)
127127
{
128-
String topic = "c02-meter/" + DEVICE_ID + "/" + part;
128+
String topic = "co2-meter/" + DEVICE_ID + "/" + part;
129129

130130
return topic.c_str();
131131
}

0 commit comments

Comments
 (0)