diff loadtools/ltmain.c @ 23:aca1948e9713

loadtool: initial version compiles and links
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 04 May 2013 04:52:05 +0000
parents e658a84b37df
children ae6294b8a015
line wrap: on
line diff
--- a/loadtools/ltmain.c	Sat May 04 04:36:29 2013 +0000
+++ b/loadtools/ltmain.c	Sat May 04 04:52:05 2013 +0000
@@ -51,11 +51,8 @@
 	open_target_serial();
 	perform_romload();
 	putchar('\n');
-	if (tpinterf_pass_output() < 0) {
-		fprintf(stderr,
-			"loadtool error: no '=' prompt received from target\n");
+	if (tpinterf_pass_output(1) < 0)
 		exit(1);
-	}
 	for (;;) {
 		if (isatty(0)) {
 			fputs("loadtool> ", stdout);