Log message time and symbol phase when dumping message info.
This commit is contained in:
parent
c3409302ce
commit
e118668925
3
mode_s.c
3
mode_s.c
|
@ -1181,6 +1181,9 @@ void displayModesMessage(struct modesMessage *mm) {
|
|||
|
||||
printf("SNR: %d.%d dB\n", mm->signalLevel/5, 2*(mm->signalLevel%5));
|
||||
|
||||
if (mm->timestampMsg)
|
||||
printf("Time: %.2fus (phase: %d)\n", mm->timestampMsg / 12.0, (unsigned int) (360 * (mm->timestampMsg % 6) / 6));
|
||||
|
||||
if (Modes.no_decode) {
|
||||
// Show DF type and address only; the rest is not decoded.
|
||||
printf("DF %d; address: %06x\n", mm->msgtype, mm->addr);
|
||||
|
|
Loading…
Reference in a new issue