diff simtool/main.c @ 46:e2ef4b8e4136

main tools: display spenh info when serial back end is used
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 21 Mar 2021 02:08:02 +0000
parents 7c26eac6ab00
children 3fe1954f5dec
line wrap: on
line diff
--- a/simtool/main.c	Sun Mar 21 01:56:49 2021 +0000
+++ b/simtool/main.c	Sun Mar 21 02:08:02 2021 +0000
@@ -4,6 +4,7 @@
 
 extern char be_reader_name[];
 extern char be_atr_string[];
+extern char be_extra_info[];
 
 main(argc, argv)
 	char **argv;
@@ -26,6 +27,8 @@
 		printf("Card reader name: %s\n", be_reader_name);
 	if (be_atr_string[0])
 		printf("ATR: %s\n", be_atr_string);
+	if (be_extra_info[0])
+		puts(be_extra_info);
 	for (;;) {
 		if (isatty(0)) {
 			fputs("simtool> ", stdout);