comparison rvinterf/lowlevel/format.c @ 975:0d7cc054ef72

rvinterf/lowlevel: updates for the new knowledge of TM predating ETM
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sun, 15 Nov 2015 04:26:10 +0000
parents 4423039aeb4b
children 009d5bf2ff4c
comparison
equal deleted inserted replaced
974:3f67d5bf96ef 975:0d7cc054ef72
102 format_g23_packet(rxpkt, (int)rxpkt_len, fmtbuf); 102 format_g23_packet(rxpkt, (int)rxpkt_len, fmtbuf);
103 output_line(fmtbuf); 103 output_line(fmtbuf);
104 } 104 }
105 105
106 void 106 void
107 print_etm_output_raw() 107 print_tm_output_raw()
108 { 108 {
109 int i; 109 int i;
110 char *dp; 110 char *dp;
111 111
112 dp = fmtbuf; 112 dp = fmtbuf;
113 strcpy(dp, "ETM:"); 113 strcpy(dp, "TM:");
114 dp += 4; 114 dp += 3;
115 for (i = 1; i < rxpkt_len; i++) { 115 for (i = 1; i < rxpkt_len; i++) {
116 sprintf(dp, " %02X", rxpkt[i]); 116 sprintf(dp, " %02X", rxpkt[i]);
117 dp += 3; 117 dp += 3;
118 } 118 }
119 *dp = '\0'; 119 *dp = '\0';