Rx Frame label

development
David Rowe 2020-11-22 09:30:40 +00:00
parent d0de9c53a2
commit 92ff2a9e8c
1 changed files with 1 additions and 1 deletions

View File

@ -393,7 +393,7 @@ static void rtlsdr_callback(unsigned char *buf, uint32_t len, void *ctx)
float S,N;
freedv_get_fsk_S_and_N(freedv, &S, &N);
fprintf(stderr, "%lu ", (unsigned long)time(NULL));
fprintf(stderr, "Sloc: %8.4f Nloc: %8.4f snrloc: %2.2f ", S, N, 10*log10(S/N));
fprintf(stderr, "Rx Frame Sloc: %8.4f Nloc: %8.4f snrloc: %2.2f ", S, N, 10*log10(S/N));
memcpy(&S, &bytes_out[2], sizeof(float));
memcpy(&N, &bytes_out[6], sizeof(float));
if ((S>0) && (N>0))