Browse Source

Bugfix: icarus: quirk_reopen is an int

Isidoro Ghezzi 12 years ago
parent
commit
c9bd74c219
3 changed files with 3 additions and 2 deletions
  1. 1 0
      AUTHORS
  2. 1 1
      driver-cairnsmore.c
  3. 1 1
      icarus-common.h

+ 1 - 0
AUTHORS

@@ -33,3 +33,4 @@ Josh Lehan <krellan@krellan.net>
 Tydus <Tydus@Tydus.org>
 Tydus <Tydus@Tydus.org>
 Raulo <p987341@gmail.com>
 Raulo <p987341@gmail.com>
 Thorsten Gilling <tgilling@web.de>
 Thorsten Gilling <tgilling@web.de>
+Isidoro Ghezzi <isidoro.ghezzi@icloud.com>

+ 1 - 1
driver-cairnsmore.c

@@ -35,7 +35,7 @@ static bool cairnsmore_detect_one(const char *devpath)
 	info->baud = CAIRNSMORE1_IO_SPEED;
 	info->baud = CAIRNSMORE1_IO_SPEED;
 	info->work_division = 2;
 	info->work_division = 2;
 	info->fpga_count = 2;
 	info->fpga_count = 2;
-	info->quirk_reopen = false;
+	info->quirk_reopen = 0;
 	info->Hs = CAIRNSMORE1_HASH_TIME;
 	info->Hs = CAIRNSMORE1_HASH_TIME;
 	info->timing_mode = MODE_LONG;
 	info->timing_mode = MODE_LONG;
 	info->do_icarus_timing = true;
 	info->do_icarus_timing = true;

+ 1 - 1
icarus-common.h

@@ -81,7 +81,7 @@ struct ICARUS_INFO {
 	int work_division;
 	int work_division;
 	int fpga_count;
 	int fpga_count;
 	uint32_t nonce_mask;
 	uint32_t nonce_mask;
-	bool quirk_reopen;
+	int quirk_reopen;
 	uint8_t user_set;
 	uint8_t user_set;
 	bool continue_search;
 	bool continue_search;