comparison rvinterf/lowlevel/format.c @ 902:4423039aeb4b

rvtdump: report ext LCD output packets sanely
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sun, 06 Sep 2015 07:27:57 +0000
parents 136fa1ccd591
children 0d7cc054ef72
comparison
equal deleted inserted replaced
901:bacf366e8ce3 902:4423039aeb4b
177 *dp = '\0'; 177 *dp = '\0';
178 output_line(fmtbuf); 178 output_line(fmtbuf);
179 } 179 }
180 180
181 void 181 void
182 report_extui_packet()
183 {
184 sprintf(fmtbuf, "LCD OUT: row %u col %u-%u", rxpkt[1], rxpkt[2],
185 rxpkt[2] + (rxpkt_len - 3) / 2 - 1);
186 output_line(fmtbuf);
187 }
188
189 void
182 print_unknown_packet() 190 print_unknown_packet()
183 { 191 {
184 int i; 192 int i;
185 char *dp; 193 char *dp;
186 194