copy: safeguard power_led_off

This commit is contained in:
Thomas Schoebel-Theuer 2017-01-04 07:17:01 +01:00
parent d897f9060e
commit f62a090575
1 changed files with 1 additions and 0 deletions

View File

@ -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;