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

Oups, I did it again ;)

parent 43f96e20
No related branches found
No related tags found
No related merge requests found
......@@ -128,7 +128,7 @@ func (zDev *Z2MDevice) setupXAALDevices(gw *Gateway) {
dev = createFunc(addr, zDev, &expose)
}
// Search a matching expose type
if createFunc, ok := deviceMap[zDev.Type]; ok {
if createFunc, ok := deviceMap[expose.Type]; ok {
dev = createFunc(addr, zDev, &expose)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment