changeset 645:880c6d31e487

loadagent sertimeout calibration command simplified
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 01 Mar 2020 23:56:35 +0000
parents 69acf5e0a21d
children 0d199c6a6ea4
files target-utils/loadagent/sertimeout.c
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/target-utils/loadagent/sertimeout.c	Sun Mar 01 23:49:31 2020 +0000
+++ b/target-utils/loadagent/sertimeout.c	Sun Mar 01 23:56:35 2020 +0000
@@ -20,14 +20,10 @@
 	char *argbulk;
 {
 	char *argv[2];
-	int count, c;
+	int count;
 
 	if (parse_args(argbulk, 1, 1, argv, 0) < 0)
 		return;
 	count = atoi(argv[0]);
-	c = serial_in_timeout(count);
-	if (c >= 0)
-		printf("Got char\n");
-	else
-		printf("Timeout\n");
+	serial_in_timeout(count);
 }