Browse Source

Clear bitforce buffer on init as previously.

nfactor-troky
Con Kolivas 13 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)
applog(LOG_WARNING, "BFL%i: Re-initialising", bitforce->device_id); applog(LOG_WARNING, "BFL%i: Re-initialising", bitforce->device_id);
biforce_clear_buffer(bitforce);
mutex_lock(&bitforce->device_mutex); mutex_lock(&bitforce->device_mutex);
if (fdDev) { if (fdDev) {
BFclose(fdDev); BFclose(fdDev);

Loading…
Cancel
Save