found the bug
All checks were successful
Rust/sat-rs/pipeline/head This commit looks good

This commit is contained in:
Robin Müller 2023-09-27 00:25:50 +02:00
parent 5a3b9fb46b
commit 8f325138ff
Signed by: muellerr
GPG Key ID: FCE0B2BD2195142F

View File

@ -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!(