mirror of
https://github.com/GOSTSec/sgminer
synced 2025-03-13 06:01:03 +00:00
Add specific information when ADL detects error -10 saying the device is not enabled.
This commit is contained in:
parent
f6518c0651
commit
920c56c93b
2
adl.c
2
adl.c
@ -241,6 +241,8 @@ void init_adl(int nDevs)
|
||||
result = ADL_Adapter_ID_Get(iAdapterIndex, &lpAdapterID);
|
||||
if (result != ADL_OK) {
|
||||
applog(LOG_INFO, "Failed to ADL_Adapter_ID_Get. Error %d", result);
|
||||
if (result == -10)
|
||||
applog(LOG_INFO, "This error says the device is not enabled");
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user