Skip to content
Snippets Groups Projects
Commit 202d76c2 authored by KERDREUX Jerome's avatar KERDREUX Jerome
Browse files

Refactoring

parent 0cb2dafa
Branches
No related tags found
No related merge requests found
......@@ -173,12 +173,9 @@ func mqttPublishHander(client MQTT.Client, msg MQTT.Message) {
break
}
}
if dev == nil {
mqttDumpMsg(msg)
} else {
if dev != nil {
mqttDeviceHandler(dev, msg)
mqttDumpMsg(msg)
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment