Fix beduino.counting bug

master
Joachim Stolberg 2022-07-08 22:24:37 +02:00
parent 904d6559d3
commit 1219deb83d
1 changed files with 0 additions and 2 deletions

View File

@ -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