Fix beduino.counting bug
This commit is contained in:
parent
904d6559d3
commit
1219deb83d
@ -415,7 +415,6 @@ function techage.beduino_send_cmnd(src, number, topic, payload)
|
||||
if ninfo and ninfo.name and ninfo.pos then
|
||||
local ndef = NodeDef[ninfo.name]
|
||||
if ndef and ndef.on_beduino_receive_cmnd then
|
||||
techage_counting_hit()
|
||||
return ndef.on_beduino_receive_cmnd(ninfo.pos, src, topic, payload or {})
|
||||
end
|
||||
end
|
||||
@ -428,7 +427,6 @@ function techage.beduino_request_data(src, number, topic, payload)
|
||||
if ninfo and ninfo.name and ninfo.pos then
|
||||
local ndef = NodeDef[ninfo.name]
|
||||
if ndef and ndef.on_beduino_request_data then
|
||||
techage_counting_hit()
|
||||
return ndef.on_beduino_request_data(ninfo.pos, src, topic, payload or {})
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user