Mercurial > code > home > repos > homeauto
diff espNode/desk/src/mqtt.h @ 1678:7831b5de3572
espNode checkpoint
author | drewp@bigasterisk.com |
---|---|
date | Mon, 27 Sep 2021 22:59:39 -0700 |
parents | e4cf795d3677 |
children |
line wrap: on
line diff
--- a/espNode/desk/src/mqtt.h Wed Sep 22 01:22:05 2021 -0700 +++ b/espNode/desk/src/mqtt.h Mon Sep 27 22:59:39 2021 -0700 @@ -14,7 +14,7 @@ namespace mqtt { void Setup(); -void Publish(std::string subtopic, std::string msg); +void Publish(const std::string& subtopic, const std::string& msg); void StopTimer(); void ConnectToMqtt(); bool HasPendingMessage();