Browse Source

Merge branch 'hbusb2' into bfgminer

Luke Dashjr 12 years ago
parent
commit
69a6c8e22b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-hashbusterusb.c

+ 1 - 1
driver-hashbusterusb.c

@@ -433,7 +433,7 @@ bool hashbusterusb_vrm_unlock(struct cgpu_info * const proc, const char * const
 	hex2bin(&buf[1], code, size);
 	
 	hashbusterusb_io(h, buf, buf);
-	return memcmp(buf, "\x12\0", 2);
+	return !memcmp(buf, "\x12\0", 2);
 }
 
 static