Commit 1d9c51a8ee03bce4f7277a987465bc9e979dac20

Con Kolivas 2014-01-09T09:06:39

Wrong init value for nanofury

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/libbitfury.c b/libbitfury.c
index a7c2902..fb691f3 100644
--- a/libbitfury.c
+++ b/libbitfury.c
@@ -181,7 +181,7 @@ void spi_send_conf(struct bitfury_info *info)
 
 	for (i = 7; i <= 11; i++)
 		spi_config_reg(info, i, 0);
-	spi_config_reg(info, 6, 0); /* disable OUTSLK */
+	spi_config_reg(info, 6, 1); /* disable OUTSLK */
 	spi_config_reg(info, 4, 1); /* Enable slow oscillator */
 	for (i = 1; i <= 3; ++i)
 		spi_config_reg(info, i, 0);