FreeCalypso > hg > fc-sim-sniff
diff sw/sniff-dec/atr.c @ 44:74330513121e
simtrace3-sniff-dec: initial cosmetic fixes
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 31 Aug 2023 08:55:34 +0000 |
parents | 118a12e9483b |
children |
line wrap: on
line diff
--- a/sw/sniff-dec/atr.c Thu Aug 31 08:47:50 2023 +0000 +++ b/sw/sniff-dec/atr.c Thu Aug 31 08:55:34 2023 +0000 @@ -35,8 +35,6 @@ void atr_begin() { - strcpy(atr_start_timestamp, linebuf); - atr_start_line = lineno; substate = SUBST_TS; byte_count = 0; } @@ -112,6 +110,8 @@ substate = SUBST_T0; return; case SUBST_T0: + strcpy(atr_start_timestamp, linebuf); + atr_start_line = lineno; latch_y = rx_byte & 0xF0; latch_k = rx_byte & 0x0F; have_tck = 0;