Browse Source

Bugfix: Include flash_led bool in cgpu_info for Icarus-but-not-BitForce builds, since Cairnsmore uses it

Luke Dashjr 13 years ago
parent
commit
3304ea41a0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      miner.h

+ 2 - 0
miner.h

@@ -383,6 +383,8 @@ struct cgpu_info {
 	uint32_t nonces;
 	uint32_t nonces;
 	bool nonce_range;
 	bool nonce_range;
 	bool polling;
 	bool polling;
+#endif
+#if defined(USE_BITFORCE) || defined(USE_ICARUS)
 	bool flash_led;
 	bool flash_led;
 #endif
 #endif
 	void *cgpu_data;
 	void *cgpu_data;