1
0
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:
Con Kolivas 2012-07-22 00:49:47 +10:00
parent c21e15a0c3
commit 17dfe74f96

View File

@ -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;