Browse Source

Merge commit '00ac287' into littlefury

Luke Dashjr 12 years ago
parent
commit
f913db08dd
1 changed files with 9 additions and 0 deletions
  1. 9 0
      miner.c

+ 9 - 0
miner.c

@@ -9371,6 +9371,10 @@ extern struct device_drv icarus_drv;
 extern struct device_drv avalon_drv;
 #endif
 
+#ifdef USE_LITTLEFURY
+extern struct device_drv littlefury_drv;
+#endif
+
 #ifdef USE_MODMINER
 extern struct device_drv modminer_drv;
 #endif
@@ -9495,6 +9499,11 @@ void drv_detect_all()
 		bitfury_drv.drv_detect();
 #endif
 
+#ifdef USE_LITTLEFURY
+	if (!opt_scrypt)
+		littlefury_drv.drv_detect();
+#endif
+
 	/* Detect avalon last since it will try to claim the device regardless
 	 * as detection is unreliable. */
 #ifdef USE_AVALON