Browse Source

Probe modminer before other FPGAs

Luke Dashjr 14 years ago
parent
commit
ce7951d502
1 changed files with 4 additions and 4 deletions
  1. 4 4
      miner.c

+ 4 - 4
miner.c

@@ -5227,6 +5227,10 @@ int main(int argc, char *argv[])
 	gpu_threads = 0;
 #endif
 
+#ifdef USE_MODMINER
+	modminer_api.api_detect();
+#endif
+
 #ifdef USE_ICARUS
 	icarus_api.api_detect();
 #endif
@@ -5235,10 +5239,6 @@ int main(int argc, char *argv[])
 	bitforce_api.api_detect();
 #endif
 
-#ifdef USE_MODMINER
-	modminer_api.api_detect();
-#endif
-
 #ifdef USE_ZTEX
 	ztex_api.api_detect();
 #endif