mirror of
https://github.com/schoebel/mars
synced 2024-12-22 06:40:52 +00:00
main: tighten future qio switch check
This commit is contained in:
parent
e01d5ac272
commit
af157b6010
@ -1999,7 +1999,9 @@ int __make_copy(struct mars_dent *belongs,
|
||||
/* do not change names underway */
|
||||
if (copy && copy->inputs[i] && copy->inputs[i]->connect) {
|
||||
aio = copy->inputs[i]->connect->brick;
|
||||
if (aio && aio->power.button)
|
||||
if (aio &&
|
||||
aio->power.button &&
|
||||
aio->power.led_on)
|
||||
goto found;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user