Skip to content

Commit

Permalink
🐛 Fix missing fixed cooling option for cooling devices with an automa…
Browse files Browse the repository at this point in the history
…tic mode.
  • Loading branch information
hexawyz committed Jun 20, 2024
1 parent 569f619 commit 649dd2b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Exo.Devices.Corsair.PowerSupplies/CorsairLinkDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Threading;
using DeviceTools;
using DeviceTools.HumanInterfaceDevices;
using Exo.Cooling;
Expand Down
2 changes: 1 addition & 1 deletion Exo.Settings.Ui/ViewModels/CoolingViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ public CoolerViewModel(CoolingDeviceViewModel device, CoolerInformation coolerIn
{
coolingModes.Add(AutomaticCoolingModeViewModel.Instance);
}
else if ((coolerInformation.SupportedCoolingModes & RawCoolingModes.Manual) != 0)
if ((coolerInformation.SupportedCoolingModes & RawCoolingModes.Manual) != 0)
{
coolingModes.Add(new FixedCoolingModeViewModel(coolerInformation.PowerLimits!.MinimumPower, coolerInformation.PowerLimits.CanSwitchOff));
coolingModes.Add(new ControlCurveCoolingModeViewModel(sensorsViewModel, coolerInformation.PowerLimits!.MinimumPower, coolerInformation.PowerLimits.CanSwitchOff));
Expand Down

0 comments on commit 649dd2b

Please sign in to comment.