Browse Source

Clear bitforce buffer on init as previously.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
7f8250132a
  1. 2
      driver-bitforce.c

2
driver-bitforce.c

@ -185,6 +185,8 @@ void bitforce_init(struct cgpu_info *bitforce) @@ -185,6 +185,8 @@ void bitforce_init(struct cgpu_info *bitforce)
applog(LOG_WARNING, "BFL%i: Re-initialising", bitforce->device_id);
biforce_clear_buffer(bitforce);
mutex_lock(&bitforce->device_mutex);
if (fdDev) {
BFclose(fdDev);

Loading…
Cancel
Save