X-Git-Url: https://code.octet-stream.net/m17rt/blobdiff_plain/6437aa4e3e028e05ea84af469b15ed91ba0d8cc2..9058451e46e4d36264282abe381aa9b6fd2c773f:/m17app/src/app.rs?ds=sidebyside diff --git a/m17app/src/app.rs b/m17app/src/app.rs index 6d056f9..fbc9a08 100644 --- a/m17app/src/app.rs +++ b/m17app/src/app.rs @@ -125,7 +125,7 @@ enum TncControlEvent { Close, } -fn spawn_reader(mut tnc: T, adapters: Arc>) { +fn spawn_reader(mut tnc: T, adapters: Arc>) { std::thread::spawn(move || { let mut kiss_buffer = KissBuffer::new(); let mut stream_running = false; @@ -156,7 +156,7 @@ fn spawn_reader(mut tnc: T, adapters: Arc(mut tnc: T, adapters: Arc(mut tnc: T, adapters: Arc(mut tnc: T, event_rx: mpsc::Receiver) { +fn spawn_writer(mut tnc: T, event_rx: mpsc::Receiver) { std::thread::spawn(move || { while let Ok(ev) = event_rx.recv() { match ev {