mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-20 07:07:09 +01:00
mqtt: payload is not const
Even if std::function compiles with the wrong (but compatible) signature
This commit is contained in:
@@ -68,7 +68,7 @@ void _uartmqttSendUART(const char * message) {
|
||||
UART_MQTT_PORT.println(message);
|
||||
}
|
||||
|
||||
void _uartmqttMQTTCallback(unsigned int type, const char * topic, const char * payload) {
|
||||
void _uartmqttMQTTCallback(unsigned int type, const char* topic, char* payload) {
|
||||
|
||||
if (type == MQTT_CONNECT_EVENT) {
|
||||
mqttSubscribe(MQTT_TOPIC_UARTOUT);
|
||||
|
||||
Reference in New Issue
Block a user