diff --git a/razer_control_gui/src/device.rs b/razer_control_gui/src/device.rs index 419cce8..4f18c02 100644 --- a/razer_control_gui/src/device.rs +++ b/razer_control_gui/src/device.rs @@ -409,7 +409,7 @@ impl DeviceManager { return 0; } - pub fn get_power_mode(&mut self, _ac:usize) -> u8 { + pub fn get_power_mode(&mut self, ac:usize) -> u8 { if let Some(laptop) = self.get_device() { if laptop.ac_state as usize == ac { return laptop.get_power_mode(0x01);