changeset 168:afd6a805c518

simtool code: rename CHV1 {dis,en}able functions more consistently
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 26 Feb 2021 23:25:38 +0000
parents ca2e62a9691e
children c37a3cc0fafe
files simtool/chv.c simtool/dispatch.c
diffstat 2 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/simtool/chv.c	Fri Feb 26 23:22:24 2021 +0000
+++ b/simtool/chv.c	Fri Feb 26 23:25:38 2021 +0000
@@ -80,7 +80,7 @@
 	return(0);
 }
 
-cmd_disable_chv(argc, argv)
+cmd_disable_chv1(argc, argv)
 	char **argv;
 {
 	u_char cmd[13];
@@ -130,7 +130,7 @@
 	return(0);
 }
 
-cmd_enable_chv(argc, argv)
+cmd_enable_chv1(argc, argv)
 	char **argv;
 {
 	u_char cmd[13];
--- a/simtool/dispatch.c	Fri Feb 26 23:22:24 2021 +0000
+++ b/simtool/dispatch.c	Fri Feb 26 23:25:38 2021 +0000
@@ -14,9 +14,9 @@
 extern int cmd_bfsearch_full();
 extern int cmd_cd();
 extern int cmd_change_chv();
-extern int cmd_disable_chv();
+extern int cmd_disable_chv1();
 extern int cmd_disable_chv1_rpt();
-extern int cmd_enable_chv();
+extern int cmd_enable_chv1();
 extern int cmd_enable_chv1_rpt();
 extern int cmd_envelope();
 extern int cmd_envelope_imm();
@@ -122,13 +122,13 @@
 	{"change-pin2", 2, 2, 0, cmd_change_chv},
 	{"cur-ef-inval", 0, 0, 0, current_ef_inval},
 	{"cur-ef-rehab", 0, 0, 0, current_ef_rehab},
-	{"disable-chv1", 1, 1, 0, cmd_disable_chv},
+	{"disable-chv1", 1, 1, 0, cmd_disable_chv1},
 	{"disable-chv1-rpt", 1, 1, 0, cmd_disable_chv1_rpt},
-	{"disable-pin1", 1, 1, 0, cmd_disable_chv},
+	{"disable-pin1", 1, 1, 0, cmd_disable_chv1},
 	{"disable-pin1-rpt", 1, 1, 0, cmd_disable_chv1_rpt},
-	{"enable-chv1", 1, 1, 0, cmd_enable_chv},
+	{"enable-chv1", 1, 1, 0, cmd_enable_chv1},
 	{"enable-chv1-rpt", 1, 1, 0, cmd_enable_chv1_rpt},
-	{"enable-pin1", 1, 1, 0, cmd_enable_chv},
+	{"enable-pin1", 1, 1, 0, cmd_enable_chv1},
 	{"enable-pin1-rpt", 1, 1, 0, cmd_enable_chv1_rpt},
 	{"envelope", 1, 1, 0, cmd_envelope},
 	{"envelope-imm", 1, 1, 0, cmd_envelope_imm},