Browse Source

Merge branch 'cgminer' into bfgminer

Luke Dashjr 13 years ago
parent
commit
b8916b1f95
1 changed files with 2 additions and 0 deletions
  1. 2 0
      adl.c

+ 2 - 0
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;
 		}