mirror of
https://github.com/schoebel/mars
synced 2025-01-20 22:41:05 +00:00
client: trigger upon shutdown
This commit is contained in:
parent
0a2d1258b7
commit
885ab25599
@ -1062,6 +1062,7 @@ static int client_switch(struct client_brick *brick)
|
||||
output->got_info = false;
|
||||
brick->connection_state = 0;
|
||||
mars_power_led_off((void*)brick, !output->bundle.sender.thread);
|
||||
mars_remote_trigger(MARS_TRIGGER_LOCAL | MARS_TRIGGER_FROM_REMOTE);
|
||||
}
|
||||
done:
|
||||
return status;
|
||||
|
Loading…
Reference in New Issue
Block a user