Skip to content

Commit

Permalink
change type of TemperatureCelsius to float to match Fan Control spec
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanMulawski committed Mar 11, 2023
1 parent 4f61ac6 commit f8f3f35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CorsairLink.Abstractions/TemperatureSensor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

public class TemperatureSensor
{
public TemperatureSensor(string name, int channel, int? tempCelsius)
public TemperatureSensor(string name, int channel, float? tempCelsius)
{
Name = name;
Channel = channel;
Expand All @@ -11,5 +11,5 @@ public TemperatureSensor(string name, int channel, int? tempCelsius)

public string Name { get; }
public int Channel { get; }
public int? TemperatureCelsius { get; set; }
public float? TemperatureCelsius { get; set; }
}

0 comments on commit f8f3f35

Please sign in to comment.