chore: clippy
This commit is contained in:
@@ -256,6 +256,7 @@ pub async fn lock_device(
|
||||
}
|
||||
|
||||
// Command `0x30`
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[tauri::command]
|
||||
pub async fn set_compressor(
|
||||
state: State<'_, AppState>,
|
||||
@@ -310,6 +311,7 @@ pub async fn set_high_pass(
|
||||
}
|
||||
|
||||
// Command `0x33`
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[tauri::command]
|
||||
pub async fn set_peq_band(
|
||||
state: State<'_, AppState>,
|
||||
|
||||
@@ -31,6 +31,7 @@ impl AppState {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(mobile)]
|
||||
pub fn disconnect_all(&self) {
|
||||
// clone the Arcs so the map lock isn't held while waiting on devices
|
||||
let devices: Vec<Arc<Mutex<DSPDevice>>> = {
|
||||
|
||||
Reference in New Issue
Block a user