From 8f325138ff9d1307c705bd028ffecd6c52b32638 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 27 Sep 2023 00:25:50 +0200 Subject: [PATCH] found the bug --- satrs-example/src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/satrs-example/src/main.rs b/satrs-example/src/main.rs index 4bfdbda..3a8664f 100644 --- a/satrs-example/src/main.rs +++ b/satrs-example/src/main.rs @@ -282,10 +282,10 @@ fn main() { tm_store: tm_args.tm_store.clone_backing_pool(), }; - info!("Starting TMTC task"); + info!("Starting TMTC and UDP task"); let jh0 = thread::Builder::new() - .name("TMTC".to_string()) - .spawn(move || { + .name("TMTC_UDP".to_string()) + .spawn(move || loop { udp_tmtc_server.periodic_operation(); tmtc_task.periodic_operation(); thread::sleep(Duration::from_millis(400)); @@ -400,7 +400,7 @@ fn main() { let mut timestamp: [u8; 7] = [0; 7]; let mut time_provider = TimeProvider::new_with_u16_days(0, 0); loop { - // TODO: Move this into a separate thread.. + // TODO: Move this into a separate function/task/module.. match acs_thread_rx.try_recv() { Ok(request) => { info!(