removed unused databus functions
This commit is contained in:
@@ -94,11 +94,4 @@ function databus.tx_rps(tripped, status, emer_cool_active)
|
|||||||
databus.ps.publish("emer_cool", emer_cool_active)
|
databus.ps.publish("emer_cool", emer_cool_active)
|
||||||
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
|
return databus
|
||||||
|
|||||||
@@ -70,11 +70,4 @@ function databus.tx_link_state(state)
|
|||||||
databus.ps.publish("link_state", state)
|
databus.ps.publish("link_state", state)
|
||||||
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
|
return databus
|
||||||
|
|||||||
@@ -172,11 +172,4 @@ function databus.tx_pdg_rtt(session_id, rtt)
|
|||||||
end
|
end
|
||||||
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
|
return databus
|
||||||
|
|||||||
Reference in New Issue
Block a user