Browse Source

Sleep after sending icarus work to emulate working at 115200 baud.

Con Kolivas 12 years ago
parent
commit
4aaeb510c8
1 changed files with 3 additions and 0 deletions
  1. 3 0
      driver-icarus.c

+ 3 - 0
driver-icarus.c

@@ -901,6 +901,9 @@ static int64_t icarus_scanhash(struct thr_info *thr, struct work *work,
 		return 0;
 		return 0;
 	}
 	}
 
 
+	/* Simple attempt to emulate writing at 115200 baud */
+	nusleep(4444);
+
 	if (opt_debug) {
 	if (opt_debug) {
 		ob_hex = bin2hex(ob_bin, sizeof(ob_bin));
 		ob_hex = bin2hex(ob_bin, sizeof(ob_bin));
 		applog(LOG_DEBUG, "%s%d: sent %s",
 		applog(LOG_DEBUG, "%s%d: sent %s",