1
0
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:
Con Kolivas 2012-08-06 11:39:32 +10:00
parent f6518c0651
commit 920c56c93b

2
adl.c
View File

@ -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;
}