logger: trigger upon shutdown

This commit is contained in:
Thomas Schoebel-Theuer 2022-12-02 21:29:04 +01:00
parent b4778909a2
commit 0a2d1258b7

View File

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