Skip to content

Commit

Permalink
Revert "fix: warning unused var"
Browse files Browse the repository at this point in the history
This reverts commit 4feb8b5.
  • Loading branch information
phush0 committed Apr 29, 2024
1 parent ed41987 commit 176d58c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion razer_control_gui/src/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 176d58c

Please sign in to comment.