cleaned up unused functions
Some checks failed
Makefile CI / Release - Linux-x86_64 (push) Failing after 1m13s
Makefile CI / Release - Windows-x86_64 (push) Has been cancelled

This commit is contained in:
2025-03-30 13:21:05 -04:00
parent c313131a88
commit 75230a5cc7
5 changed files with 8 additions and 69 deletions

View File

@@ -82,7 +82,7 @@ impl Default for ShiftTool {
device_list: vec![],
source_states: vec![],
receiver_states: vec![],
shift_state: Arc::new((Mutex::new(0))), // Keep Condvar if needed for shift_state?
shift_state: Arc::new(Mutex::new(0)), // Keep Condvar if needed for shift_state?
thread_state: Arc::new((Mutex::new(false), Condvar::new())),
config,
}
@@ -115,13 +115,13 @@ impl ShiftTool {
// Helper to add state tracking for a new source
fn add_source_state(&mut self) {
self.source_states
.push(Arc::new((Mutex::new(0))));
.push(Arc::new(Mutex::new(0)));
}
// Helper to add state tracking for a new receiver
fn add_receiver_state(&mut self) {
self.receiver_states
.push(Arc::new((Mutex::new(0))));
.push(Arc::new(Mutex::new(0)));
}
// Helper to get thread status (could be in ui.rs or main.rs)