mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Better laptop LED mode handling
This commit is contained in:
@@ -35,11 +35,11 @@ pub trait Controller {
|
||||
|
||||
/// Spawn an infinitely running task (usually) which checks a Receiver for input,
|
||||
/// and may send a signal over dbus
|
||||
fn spawn_task(
|
||||
fn spawn_task_loop(
|
||||
self,
|
||||
config: Arc<Mutex<Config>>,
|
||||
recv: Receiver<Self::A>,
|
||||
connection: Option<Arc<SyncConnection>>,
|
||||
signal: Option<Arc<Signal<()>>>,
|
||||
) -> JoinHandle<()>;
|
||||
) -> Vec<JoinHandle<()>>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user