mqtt: payload is not const

Even if std::function compiles with the wrong (but compatible) signature
This commit is contained in:
Maxim Prokhorov
2021-08-21 01:07:59 +03:00
parent 31688f1bf0
commit e6a0e505b3
16 changed files with 17 additions and 17 deletions

View File

@@ -2042,7 +2042,7 @@ void _relayMqttHandleDisconnect() {
} // namespace
void relayMQTTCallback(unsigned int type, const char * topic, const char * payload) {
void relayMQTTCallback(unsigned int type, const char* topic, char* payload) {
static bool connected { false };