Browse Source

logging - code mistake

nfactor-troky
Kano 11 years ago
parent
commit
3aefcce41c
  1. 2
      driver-bflsc.c
  2. 2
      driver-bflsc.h

2
driver-bflsc.c

@ -1223,7 +1223,7 @@ static void process_nonces(struct cgpu_info *bflsc, int dev, char *xlink, char *
} }
if (count > sc_info->que_fld_max) { if (count > sc_info->que_fld_max) {
applogsiz(LOG_INFO, "%s%i:%s work returned too large (%d) processing %d anyway", applog(LOG_INFO, "%s%i:%s work returned too large (%d) processing %d anyway",
bflsc->drv->name, bflsc->device_id, xlink, count, sc_info->que_fld_max); bflsc->drv->name, bflsc->device_id, xlink, count, sc_info->que_fld_max);
count = sc_info->que_fld_max; count = sc_info->que_fld_max;
inc_hw_errors(bflsc->thr[0]); inc_hw_errors(bflsc->thr[0]);

2
driver-bflsc.h

@ -47,7 +47,7 @@ enum driver_version {
#define BFLSC_BUFSIZ (0x1000) #define BFLSC_BUFSIZ (0x1000)
// Should be big enough // Should be big enough
#define BFLSC_APPLOGSIZ (0x2000) #define BFLSC_APPLOGSIZ 8192
#define BFLSC_INFO_TIMEOUT 999 #define BFLSC_INFO_TIMEOUT 999

Loading…
Cancel
Save