diff libcommon/be_init.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 c9ef9e91dd8e
children
line wrap: on
line diff
--- a/libcommon/be_init.c	Sun Mar 21 01:56:49 2021 +0000
+++ b/libcommon/be_init.c	Sun Mar 21 02:08:02 2021 +0000
@@ -15,6 +15,7 @@
 
 char be_reader_name[MAX_INIT_STRING+1];
 char be_atr_string[MAX_INIT_STRING+1];
+char be_extra_info[MAX_INIT_STRING+1];
 
 static void
 copy_without_leading_space(input_str, dest)
@@ -53,6 +54,9 @@
 		case 'R':
 			copy_without_leading_space(inbuf + 1, be_reader_name);
 			break;
+		case 'X':
+			copy_without_leading_space(inbuf + 1, be_extra_info);
+			break;
 		}
 	}
 	return(0);