mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Writing an interrupt seems so slow...
This commit is contained in:
@@ -127,7 +127,7 @@ impl RogCore {
|
||||
Err(AuraError::UsbError(rusb::Error::NoDevice))
|
||||
}
|
||||
|
||||
fn aura_write(&mut self, message: &[u8]) -> Result<(), AuraError> {
|
||||
pub fn aura_write(&mut self, message: &[u8]) -> Result<(), AuraError> {
|
||||
self.handle
|
||||
.write_interrupt(self.led_endpoint, message, Duration::from_micros(1))
|
||||
.unwrap();
|
||||
|
||||
Reference in New Issue
Block a user