mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Small fixxes to functionality
- Fixed return of rog-core in client mode - Fixed writing of customised builtin LED modes
This commit is contained in:
@@ -36,7 +36,6 @@ impl AuraDbusWriter {
|
||||
if let Ok(stop) = msg.read1::<bool>() {
|
||||
if stop {
|
||||
if let Ok(mut lock) = stopper.lock() {
|
||||
println!("SHOULD STOP");
|
||||
*lock = true;
|
||||
}
|
||||
}
|
||||
@@ -77,7 +76,7 @@ impl AuraDbusWriter {
|
||||
thread::sleep(Duration::from_millis(self.block_time));
|
||||
if let Ok(lock) = self.stop.try_lock() {
|
||||
if *lock {
|
||||
panic!("Stopping!");
|
||||
panic!("Go signal to stop!");
|
||||
}
|
||||
}
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user