mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-25 12:17:12 +02:00
parent
4093be7e70
commit
56cfffbcd8
3 changed files with 16 additions and 17 deletions
|
@ -43,7 +43,7 @@ void app::setup(uint32_t timeout) {
|
|||
#ifndef AP_ONLY
|
||||
setupMqtt();
|
||||
if(mMqttActive)
|
||||
mPayload.addListener(std::bind(&MqttType::payloadEventListener, mMqtt, std::placeholders::_1));
|
||||
mPayload.addListener(std::bind(&MqttType::payloadEventListener, &mMqtt, std::placeholders::_1));
|
||||
#endif
|
||||
setupLed();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue