mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Fix misnamed led dbus method
This commit is contained in:
@@ -182,7 +182,7 @@ impl CtrlKbdLedZbus {
|
|||||||
|
|
||||||
// As property doesn't work for AuraPowerDev (complexity of serialization?)
|
// As property doesn't work for AuraPowerDev (complexity of serialization?)
|
||||||
// #[dbus_interface(property)]
|
// #[dbus_interface(property)]
|
||||||
async fn leds_power(&self) -> AuraPowerDev {
|
async fn leds_enabled(&self) -> AuraPowerDev {
|
||||||
loop {
|
loop {
|
||||||
if let Ok(ctrl) = self.0.try_lock() {
|
if let Ok(ctrl) = self.0.try_lock() {
|
||||||
return AuraPowerDev::from(&ctrl.config.enabled);
|
return AuraPowerDev::from(&ctrl.config.enabled);
|
||||||
|
|||||||
Reference in New Issue
Block a user