diff simtool/pbupd_immhex.c @ 43:52ec2d3eb851

encode_phone_number_arg() now supports both encoding modes
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 12 Feb 2021 23:36:47 +0000
parents d4f8c511affe
children
line wrap: on
line diff
--- a/simtool/pbupd_immhex.c	Fri Feb 12 23:02:09 2021 +0000
+++ b/simtool/pbupd_immhex.c	Fri Feb 12 23:36:47 2021 +0000
@@ -56,7 +56,7 @@
 	}
 	memset(record, 0xFF, curfile_record_len);
 	fixp = record + curfile_record_len - 14;
-	rc = encode_phone_number_arg(argv[3], fixp);
+	rc = encode_phone_number_arg(argv[3], fixp, 0);
 	if (rc < 0)
 		return(rc);
 	rc = decode_alphatag_arg_hex(argv[4], record, curfile_record_len - 14);