mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 15:27:53 +00:00
Allow intensities up to 20 if scrypt is compiled in.
This commit is contained in:
parent
c21e15a0c3
commit
17dfe74f96
5
miner.h
5
miner.h
@ -610,8 +610,13 @@ extern void add_pool_details(bool live, char *url, char *user, char *pass);
|
|||||||
|
|
||||||
#define MIN_INTENSITY -10
|
#define MIN_INTENSITY -10
|
||||||
#define _MIN_INTENSITY_STR "-10"
|
#define _MIN_INTENSITY_STR "-10"
|
||||||
|
#ifdef USE_SCRYPT
|
||||||
|
#define MAX_INTENSITY 20
|
||||||
|
#define _MAX_INTENSITY_STR "20"
|
||||||
|
#else
|
||||||
#define MAX_INTENSITY 14
|
#define MAX_INTENSITY 14
|
||||||
#define _MAX_INTENSITY_STR "14"
|
#define _MAX_INTENSITY_STR "14"
|
||||||
|
#endif
|
||||||
|
|
||||||
extern struct list_head scan_devices;
|
extern struct list_head scan_devices;
|
||||||
extern int nDevs;
|
extern int nDevs;
|
||||||
|
Loading…
Reference in New Issue
Block a user