mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Members of cgpu_info for avalon are not meant to be in the union.
This commit is contained in:
parent
2f371f13f5
commit
67c5da49b6
2
miner.h
2
miner.h
@ -426,11 +426,11 @@ struct cgpu_info {
|
|||||||
#if defined(USE_ICARUS) || defined(USE_AVALON)
|
#if defined(USE_ICARUS) || defined(USE_AVALON)
|
||||||
int device_fd;
|
int device_fd;
|
||||||
#endif
|
#endif
|
||||||
|
};
|
||||||
#ifdef USE_AVALON
|
#ifdef USE_AVALON
|
||||||
struct work **works;
|
struct work **works;
|
||||||
int queued;
|
int queued;
|
||||||
#endif
|
#endif
|
||||||
};
|
|
||||||
#ifdef USE_USBUTILS
|
#ifdef USE_USBUTILS
|
||||||
struct cg_usb_info usbinfo;
|
struct cg_usb_info usbinfo;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user