Set GPIO LED and power to high in nanofury driver.
diff --git a/driver-bitfury.c b/driver-bitfury.c
index 7211019..d5fbf32 100644
--- a/driver-bitfury.c
+++ b/driver-bitfury.c
@@ -294,8 +294,12 @@ static bool nf1_detect_one(struct cgpu_info *bitfury, struct bitfury_info *info)
}
if (!mcp2210_set_gpio_pindir(bitfury, NF1_PIN_LED, MCP2210_GPIO_OUTPUT))
return ret;
+ if (!mcp2210_set_gpio_pinval(bitfury, NF1_PIN_LED, MCP2210_GPIO_PIN_HIGH))
+ return ret;
if (!mcp2210_set_gpio_pindir(bitfury, NF1_PIN_PWR_EN, MCP2210_GPIO_OUTPUT))
return ret;
+ if (!mcp2210_set_gpio_pinval(bitfury, NF1_PIN_PWR_EN, MCP2210_GPIO_PIN_HIGH))
+ return ret;
if (opt_debug) {
struct gpio_pin gp;