mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Update all cargo.toml. Support G713P
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
[package]
|
||||
name = "rog_platform"
|
||||
license = "MPL-2.0"
|
||||
license.workspace = true
|
||||
version.workspace = true
|
||||
edition = "2021"
|
||||
readme.workspace = true
|
||||
authors.workspace = true
|
||||
repository.workspace = true
|
||||
homepage.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[dependencies]
|
||||
log.workspace = true
|
||||
@@ -18,4 +22,4 @@ rusb.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
cargo-husky.workspace = true
|
||||
rog_aura = { path = "../rog-aura" }
|
||||
rog_aura = { path = "../rog-aura" }
|
||||
|
||||
@@ -27,7 +27,7 @@ impl USBRaw {
|
||||
device: &Device<rusb::GlobalContext>,
|
||||
) -> Result<DeviceHandle<rusb::GlobalContext>> {
|
||||
// We don't expect this ID to ever change
|
||||
let mut device = device.open()?;
|
||||
let device = device.open()?;
|
||||
device.reset()?;
|
||||
device.set_auto_detach_kernel_driver(true)?;
|
||||
device.claim_interface(0)?;
|
||||
|
||||
Reference in New Issue
Block a user