Change spimode and send more data in nanofury setup.
diff --git a/driver-bitfury.c b/driver-bitfury.c
index d7d14a0..226817c 100644
--- a/driver-bitfury.c
+++ b/driver-bitfury.c
@@ -343,9 +343,16 @@ static bool nf1_detect_one(struct cgpu_info *bitfury, struct bitfury_info __mayb
length = 1;
if (!mcp2210_spi_transfer(bitfury, buf, &length))
goto out;
- if (length > 0) {
- applog(LOG_WARNING, "Got %d bytes back of %s", length, buf);
- }
+
+ spimode = 2;
+ if (!mcp2210_set_spi_transfer_settings(bitfury, bitrate, icsv, acsv, cstdd,
+ ldbtcsd, sdbd, bpst, spimode))
+ goto out;
+ buf[0] = 0;
+ length = 1;
+ if (!mcp2210_spi_transfer(bitfury, buf, &length))
+ goto out;
+
out:
return ret;
}