mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-12 03:07:13 +01:00
mqtt: payload is not const
Even if std::function compiles with the wrong (but compatible) signature
This commit is contained in:
@@ -1657,7 +1657,7 @@ bool _lightMqttHeartbeat(heartbeat::Mask mask) {
|
||||
return mqttConnected();
|
||||
}
|
||||
|
||||
void _lightMqttCallback(unsigned int type, const char * topic, const char * payload) {
|
||||
void _lightMqttCallback(unsigned int type, const char* topic, char* payload) {
|
||||
String mqtt_group_color = Light::settings::mqttGroup();
|
||||
|
||||
if (type == MQTT_CONNECT_EVENT) {
|
||||
|
||||
Reference in New Issue
Block a user