Developing lightweight computation at the DSG edge

Commit 947b9707 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

[qmp-system] Fix order in function qmpinfo interfaces

parent 643e49d0
......@@ -46,14 +46,14 @@ end
function print_devices()
local _,v,devs
if op1 == nil then
devs = qmpinfo.get_devices().all
elseif op1 == "wifi" then
if op1 == "wifi" then
devs = qmpinfo.get_devices().wifi
else
elseif op1 == "eth" then
devs = qmpinfo.get_devices().eth
else
devs = qmpinfo.get_devices().all
end
for _,v in ipairs(devs) do
print(v)
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment