mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-21 04:46:10 +02:00
parent
0ff4368d8c
commit
e1c713fb00
3 changed files with 5 additions and 6 deletions
|
@ -163,7 +163,7 @@ void app::setup(uint32_t timeout) {
|
|||
mqttPort = 1883;
|
||||
|
||||
mMqtt.setup(mqttAddr, mqttTopic, mqttUser, mqttPwd, mqttDevName, mqttPort);
|
||||
mMqtt.mClient->setCallback(std::bind(&app::cbMqtt, this, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3));
|
||||
mMqtt.setCallback(std::bind(&app::cbMqtt, this, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3));
|
||||
mMqttTicker = 0;
|
||||
|
||||
#ifdef __MQTT_TEST__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue