From 0a2d1258b7dc1fc2f9c43a98bb7847b4e94a7efe Mon Sep 17 00:00:00 2001 From: Thomas Schoebel-Theuer Date: Fri, 2 Dec 2022 21:29:04 +0100 Subject: [PATCH] logger: trigger upon shutdown --- kernel/mars_trans_logger.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/mars_trans_logger.c b/kernel/mars_trans_logger.c index b3b91b6d..e8f39fdb 100644 --- a/kernel/mars_trans_logger.c +++ b/kernel/mars_trans_logger.c @@ -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; }