fix compile

This commit is contained in:
lumapu 2023-06-10 09:10:33 +02:00
parent 4e54bcf299
commit bdf43fd522
2 changed files with 9 additions and 6 deletions

View file

@ -65,7 +65,7 @@ void app::setup() {
#if defined(ESP32)
mHmsPayload.setup(this, &mSys, &mCmtRadio, &mStat, 5, &mTimestamp);
mHmsPayload.enableSerialDebug(mConfig->serial.debug);
mHmsPayload.addPayloadListener(std::bind(&app::payloadEventListener, this, std::placeholders::_1));
mHmsPayload.addPayloadListener(std::bind(&app::payloadEventListener, this, std::placeholders::_1, std::placeholders::_2));
#endif
/*DBGPRINTLN("--- after payload");
DBGPRINTLN(String(ESP.getFreeHeap()));