diff --git a/reactor-plc/databus.lua b/reactor-plc/databus.lua index 65ecae9..98c1671 100644 --- a/reactor-plc/databus.lua +++ b/reactor-plc/databus.lua @@ -94,11 +94,4 @@ function databus.tx_rps(tripped, status, emer_cool_active) databus.ps.publish("emer_cool", emer_cool_active) end --- link a function to receive data from the bus ----@param field string field name ----@param func function function to link -function databus.rx_field(field, func) - databus.ps.subscribe(field, func) -end - return databus diff --git a/rtu/databus.lua b/rtu/databus.lua index c4eb0ed..50deeb7 100644 --- a/rtu/databus.lua +++ b/rtu/databus.lua @@ -70,11 +70,4 @@ function databus.tx_link_state(state) databus.ps.publish("link_state", state) end --- link a function to receive data from the bus ----@param field string field name ----@param func function function to link -function databus.rx_field(field, func) - databus.ps.subscribe(field, func) -end - return databus diff --git a/supervisor/databus.lua b/supervisor/databus.lua index 5accd5d..6841157 100644 --- a/supervisor/databus.lua +++ b/supervisor/databus.lua @@ -172,11 +172,4 @@ function databus.tx_pdg_rtt(session_id, rtt) end end --- link a function to receive data from the bus ----@param field string field name ----@param func function function to link -function databus.rx_field(field, func) - databus.ps.subscribe(field, func) -end - return databus