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