bt-pinephone.lua: remove useless variable assignments
This is a copy/paste from the code that now lives in apply-routes.lua, but there is no point since the route here is a real route param and not a route_info structure.
This commit is contained in:
@@ -91,9 +91,6 @@ function setPlatformRoute (route_name, direction)
|
||||
|
||||
Log.info(param, "setting route on " .. tostring(platform_sound))
|
||||
platform_sound:set_param("Route", param)
|
||||
|
||||
route.prev_active = true
|
||||
route.active = true
|
||||
end
|
||||
|
||||
nodes_om:connect("object-added", function(_, node)
|
||||
|
Reference in New Issue
Block a user