mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 15:27:53 +00:00
Revert "Set iSize for thermal device enum first."
This reverts commit 990bb4a994
.
Thermal devices is not used. 1st of 3 reverts.
This commit is contained in:
parent
82af288e69
commit
4ae0aad113
1
adl.c
1
adl.c
@ -316,7 +316,6 @@ void init_adl(int nDevs)
|
|||||||
ga->DefPerfLev = NULL;
|
ga->DefPerfLev = NULL;
|
||||||
ga->twin = NULL;
|
ga->twin = NULL;
|
||||||
|
|
||||||
ga->lpThermalControllerInfo.iSize=sizeof(ADLThermalControllerInfo);
|
|
||||||
if (ADL_Overdrive5_ThermalDevices_Enum(iAdapterIndex, 0, &ga->lpThermalControllerInfo) != ADL_OK)
|
if (ADL_Overdrive5_ThermalDevices_Enum(iAdapterIndex, 0, &ga->lpThermalControllerInfo) != ADL_OK)
|
||||||
applog(LOG_INFO, "Failed to ADL_Overdrive5_ThermalDevices_Enum");
|
applog(LOG_INFO, "Failed to ADL_Overdrive5_ThermalDevices_Enum");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user