mirror of
https://github.com/schoebel/mars
synced 2024-12-11 01:09:19 +00:00
logger: trigger upon shutdown
This commit is contained in:
parent
b4778909a2
commit
0a2d1258b7
@ -3332,6 +3332,7 @@ int trans_logger_switch(struct trans_logger_brick *brick)
|
||||
MARS_INF("stopping thread...\n");
|
||||
brick_thread_stop(brick->thread);
|
||||
brick->thread = NULL;
|
||||
mars_remote_trigger(MARS_TRIGGER_LOCAL | MARS_TRIGGER_FROM_REMOTE);
|
||||
} else if (!brick->power.led_off) {
|
||||
return -EAGAIN;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user