mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-03-16 16:07:07 +08:00
fix: 补齐 ATX 控制器缺失接口并完成全项目 clippy -D warnings 修复
This commit is contained in:
@@ -52,10 +52,7 @@ impl MsdController {
|
||||
/// # Parameters
|
||||
/// * `otg_service` - OTG service for gadget management
|
||||
/// * `msd_dir` - Base directory for MSD storage
|
||||
pub fn new(
|
||||
otg_service: Arc<OtgService>,
|
||||
msd_dir: impl Into<PathBuf>,
|
||||
) -> Self {
|
||||
pub fn new(otg_service: Arc<OtgService>, msd_dir: impl Into<PathBuf>) -> Self {
|
||||
let msd_dir = msd_dir.into();
|
||||
let images_path = msd_dir.join("images");
|
||||
let ventoy_dir = msd_dir.join("ventoy");
|
||||
|
||||
Reference in New Issue
Block a user