diff --git a/asusd/src/ctrl_aura/controller.rs b/asusd/src/ctrl_aura/controller.rs index 0680bc72..d6d173d9 100644 --- a/asusd/src/ctrl_aura/controller.rs +++ b/asusd/src/ctrl_aura/controller.rs @@ -275,13 +275,11 @@ impl CtrlKbdLed { pub(super) fn fix_ally_power(&mut self) -> Result<(), RogError> { if self.led_type == AuraDeviceType::Ally { if let LEDNode::Rog(_, hid_raw) = &self.led_node { - if let Some(fix) = self.config.ally_fix.as_mut() { - if !*fix { - let msg = [0x5d, 0xbd, 0x01, 0xff, 0xff, 0xff, 0xff]; - hid_raw.write_bytes(&msg)?; - info!("Reset Ally power settings to base"); - } - *fix = true; + if self.config.ally_fix.is_none() { + let msg = [0x5d, 0xbd, 0x01, 0xff, 0xff, 0xff, 0xff]; + hid_raw.write_bytes(&msg)?; + info!("Reset Ally power settings to base"); + self.config.ally_fix = Some(true); } self.config.write(); } diff --git a/rog-control-center/translations/en/rog-control-center.po b/rog-control-center/translations/en/rog-control-center.po index 8b5c96a7..4bd4d235 100644 --- a/rog-control-center/translations/en/rog-control-center.po +++ b/rog-control-center/translations/en/rog-control-center.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2024-08-30 09:32+0000\n" +"POT-Creation-Date: 2024-08-30 23:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n"