Skip to content

Commit

Permalink
Update dll files (LibreHardwareMonitorLib, OpenHardwareMonitorLib)
Browse files Browse the repository at this point in the history
  • Loading branch information
lich426 committed Jul 22, 2020
1 parent cdb8589 commit 54ea206
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions FanCtrl/Hardware/LHM.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public void createTemp(ref List<BaseSensor> sensorList)
int gpuAmdNum = 2;
int gpuNvidiaNum = 2;
var hardwareArray = mComputer.Hardware;
for (int i = 0; i < hardwareArray.Length; i++)
for (int i = 0; i < hardwareArray.Count; i++)
{
if (hardwareArray[i].HardwareType == HardwareType.Cpu)
{
Expand Down Expand Up @@ -94,7 +94,7 @@ public void createMotherBoardTemp(ref List<BaseSensor> sensorList)
// Motherboard
int num = 1;
var hardwareArray = mComputer.Hardware;
for (int i = 0; i < hardwareArray.Length; i++)
for (int i = 0; i < hardwareArray.Count; i++)
{
if (hardwareArray[i].HardwareType == HardwareType.Cpu ||
hardwareArray[i].HardwareType == HardwareType.GpuAmd ||
Expand Down Expand Up @@ -141,7 +141,7 @@ public void createFan(ref List<BaseSensor> fanList)
{
int fanNum = 1;
var hardwareArray = mComputer.Hardware;
for (int i = 0; i < hardwareArray.Length; i++)
for (int i = 0; i < hardwareArray.Count; i++)
{
if (hardwareArray[i].HardwareType == HardwareType.GpuNvidia ||
hardwareArray[i].HardwareType == HardwareType.GpuAmd)
Expand Down Expand Up @@ -179,7 +179,7 @@ public void createControl(ref List<BaseControl> controlList)
{
int fanNum = 1;
var hardwareArray = mComputer.Hardware;
for (int i = 0; i < hardwareArray.Length; i++)
for (int i = 0; i < hardwareArray.Count; i++)
{
if (hardwareArray[i].HardwareType == HardwareType.GpuNvidia ||
hardwareArray[i].HardwareType == HardwareType.GpuAmd)
Expand Down Expand Up @@ -219,7 +219,7 @@ public void createGPUFan(ref List<BaseSensor> fanList)

int gpuFanNum = 1;
var hardwareArray = mComputer.Hardware;
for (int i = 0; i < hardwareArray.Length; i++)
for (int i = 0; i < hardwareArray.Count; i++)
{
if ((hardwareArray[i].HardwareType == HardwareType.GpuNvidia && isNvAPIWrapper == false) ||
(hardwareArray[i].HardwareType == HardwareType.GpuAmd))
Expand Down Expand Up @@ -269,7 +269,7 @@ public void createGPUFanControl(ref List<BaseControl> controlList)

int gpuFanNum = 1;
var hardwareArray = mComputer.Hardware;
for (int i = 0; i < hardwareArray.Length; i++)
for (int i = 0; i < hardwareArray.Count; i++)
{
if ((hardwareArray[i].HardwareType == HardwareType.GpuNvidia && isNvAPIWrapper == false) ||
(hardwareArray[i].HardwareType == HardwareType.GpuAmd))
Expand Down Expand Up @@ -319,7 +319,7 @@ public void createOSDSensor(ref List<OSDSensor> osdList)
{
bool isNvAPIWrapper = OptionManager.getInstance().IsNvAPIWrapper;
var hardwareArray = mComputer.Hardware;
for (int i = 0; i < hardwareArray.Length; i++)
for (int i = 0; i < hardwareArray.Count; i++)
{
if (isNvAPIWrapper == true && hardwareArray[i].HardwareType == HardwareType.GpuNvidia)
continue;
Expand Down
2 changes: 1 addition & 1 deletion Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
// 기본값으로 할 수 있습니다.
[assembly: AssemblyVersion("1.2.1")]
[assembly: AssemblyFileVersion("1.2.1")]
[assembly: AssemblyInformationalVersion("1.2.1a")]
[assembly: AssemblyInformationalVersion("1.2.1b")]
Binary file modified dll/LibreHardwareMonitorLib.dll
Binary file not shown.
Binary file modified dll/OpenHardwareMonitorLib.dll
Binary file not shown.

0 comments on commit 54ea206

Please sign in to comment.