mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-23 00:27:06 +01:00
mqtt: payload is not const
Even if std::function compiles with the wrong (but compatible) signature
This commit is contained in:
@@ -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 };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user