sniffer: display F and D values frim PPS

Change-Id: I3641dcb6c24695a6d3dd3a1ee4333f56a07c99f0
This commit is contained in:
Kévin Redon
2018-07-03 15:57:03 +02:00
committed by King Kévin
parent 6e3f1121e6
commit 7406337a7f
3 changed files with 9 additions and 3 deletions

View File

@@ -565,7 +565,7 @@ static void process_byte_pps(uint8_t byte)
fn = 1;
dn = 1;
}
TRACE_INFO("PPS negotiation successful: Fn=%u Dn=%u\n\r", fn, dn);
TRACE_INFO("PPS negotiation successful: Fn=%u Dn=%u\n\r", fi_table[fn], di_table[dn]);
update_fidi(&sniff_usart, pps_cur[2]);
usb_send_fidi(pps_cur[2]); /* send Fi/Di change notification to host software over USB */
} else { /* checksum is invalid */