Browse Source

dualminer: Move opt_dual_mode to dualminer file

Nate Woolls 12 years ago
parent
commit
0dbe04ee23
3 changed files with 5 additions and 7 deletions
  1. 5 0
      driver-dualminer.c
  2. 0 1
      gc3355.c
  3. 0 6
      gc3355.h

+ 5 - 0
driver-dualminer.c

@@ -33,6 +33,11 @@
   #include <io.h>
   #include <io.h>
 #endif
 #endif
 
 
+// mining both Scrypt & SHA2 at the same time with two processes
+// SHA2 process must be run first, no arg requirements, first serial port will be used
+// Scrypt process must be launched after, --scrypt and --dual-mode args required
+bool opt_dual_mode = false;
+
 #define DUALMINER_IO_SPEED 115200
 #define DUALMINER_IO_SPEED 115200
 
 
 #define DUALMINER_SCRYPT_SM_HASH_TIME   0.00001428571429
 #define DUALMINER_SCRYPT_SM_HASH_TIME   0.00001428571429

+ 0 - 1
gc3355.c

@@ -280,7 +280,6 @@ const char *sha2_chip_reset_cmd[] =
 	NULL
 	NULL
 };
 };
 
 
-bool opt_dual_mode = false;
 
 
 void gc3355_reset_dtr(int fd)
 void gc3355_reset_dtr(int fd)
 {
 {

+ 0 - 6
gc3355.h

@@ -30,12 +30,6 @@ extern int opt_sha2_units;
 extern
 extern
 int opt_pll_freq;
 int opt_pll_freq;
 
 
-//mining both Scrypt & SHA2 at the same time with two processes
-//SHA2 process must be run first, no arg requirements, first serial port will be used
-//Scrypt process must be launched after, --scrypt and --dual-mode args required
-extern
-bool opt_dual_mode;
-
 extern
 extern
 void gc3355_reset_dtr(int fd);
 void gc3355_reset_dtr(int fd);