diff autocal/txlevels.c @ 104:7ad0495991ed

autocal: use the new ERROR_RFFAIL exit code
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 09 Dec 2017 07:01:13 +0000
parents 80281b67511f
children 1e49bb52b07e
line wrap: on
line diff
--- a/autocal/txlevels.c	Sun Aug 13 05:04:48 2017 +0000
+++ b/autocal/txlevels.c	Sat Dec 09 07:01:13 2017 +0000
@@ -74,11 +74,11 @@
 	do_rfe(STOP_ALL);
 	if (nanflag) {
 		printf("Error: got NaN power measurement, aborting\n");
-		exit(ERROR_TARGET);
+		exit(ERROR_RFFAIL);
 	}
 	if (errflag) {
 		printf("Error: Tx power off by more than 2 dBm, aborting\n");
-		exit(ERROR_TARGET);
+		exit(ERROR_RFFAIL);
 	}
 	return(0);
 }