mirror of
https://github.com/schoebel/mars
synced 2025-01-05 13:52:40 +00:00
light: force shutdown of fetch upon {disonnect,detach}
This commit is contained in:
parent
cae1b747b1
commit
178637f5e6
@ -3159,6 +3159,8 @@ done:
|
||||
if (copy_brick &&
|
||||
(copy_brick->power.led_off ||
|
||||
!global->global_power.button ||
|
||||
!_check_allow(global, parent, "connect") ||
|
||||
!_check_allow(global, parent, "attach") ||
|
||||
(copy_brick->copy_last == copy_brick->copy_end &&
|
||||
(rot->copy_next_is_available > 0 ||
|
||||
rot->copy_round++ > 3)))) {
|
||||
|
Loading…
Reference in New Issue
Block a user