Fix misnamed led dbus method

This commit is contained in:
Luke D. Jones
2022-07-25 14:22:29 +12:00
parent 840c500b5e
commit 808a1d2470

View File

@@ -182,7 +182,7 @@ impl CtrlKbdLedZbus {
// As property doesn't work for AuraPowerDev (complexity of serialization?)
// #[dbus_interface(property)]
async fn leds_power(&self) -> AuraPowerDev {
async fn leds_enabled(&self) -> AuraPowerDev {
loop {
if let Ok(ctrl) = self.0.try_lock() {
return AuraPowerDev::from(&ctrl.config.enabled);