mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
ppm includes get_type function now
This commit is contained in:
parent
a9d4458103
commit
6e1e4c4685
@ -95,6 +95,11 @@ function get_periph(iface)
|
||||
return self.mounts[iface].device
|
||||
end
|
||||
|
||||
-- get a mounted peripheral type by side/interface
|
||||
function get_type(iface)
|
||||
return self.mounts[iface].type
|
||||
end
|
||||
|
||||
-- get a mounted peripheral by type
|
||||
function get_device(name)
|
||||
local device = nil
|
||||
|
Loading…
Reference in New Issue
Block a user