diff 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
line wrap: on
line diff
--- a/rvinterf/lowlevel/format.c	Sun Jul 05 03:17:40 2015 +0000
+++ b/rvinterf/lowlevel/format.c	Sun Sep 06 07:27:57 2015 +0000
@@ -179,6 +179,14 @@
 }
 
 void
+report_extui_packet()
+{
+	sprintf(fmtbuf, "LCD OUT: row %u col %u-%u", rxpkt[1], rxpkt[2],
+		rxpkt[2] + (rxpkt_len - 3) / 2 - 1);
+	output_line(fmtbuf);
+}
+
+void
 print_unknown_packet()
 {
 	int i;