mirror of https://github.com/schoebel/mars
copy: safeguard power_led_off
This commit is contained in:
parent
d897f9060e
commit
f62a090575
|
@ -858,6 +858,7 @@ static int copy_switch(struct copy_brick *brick)
|
|||
MARS_INF("stopping thread...\n");
|
||||
brick_thread_stop(brick->thread);
|
||||
}
|
||||
mars_power_led_off((void *)brick, true);
|
||||
}
|
||||
done:
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue