Skip to content

Commit 0e44dd3

Browse files
committed
Publish time example using data topic.
1 parent 6da5aac commit 0e44dd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/samples/async_publish_time.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ int main(int argc, char* argv[])
110110
cout << "Connecting..." << endl;
111111
cli.connect(connopts)->wait();
112112

113-
mqtt::topic top(cli, "test/time", QOS);
113+
mqtt::topic top(cli, "data/time", QOS);
114114
cout << "Publishing data..." << endl;
115115

116116
uint64_t t = timestamp(),

0 commit comments

Comments
 (0)