From 8206895e336dcb59494d3fe9e779bc9875e4f943 Mon Sep 17 00:00:00 2001 From: c vw Date: Wed, 17 Jul 2019 16:56:59 +0200 Subject: [PATCH] removed debug code --- hpsdrsim.c | 1 - newhpsdrsim.c | 1 - 2 files changed, 2 deletions(-) diff --git a/hpsdrsim.c b/hpsdrsim.c index 358c74a..881ea13 100644 --- a/hpsdrsim.c +++ b/hpsdrsim.c @@ -545,7 +545,6 @@ int main(int argc, char *argv[]) last_q_sample=dqsample; if (j == 62) bp+=8; // skip 8 SYNC/C&C bytes of second block } - fprintf(stderr,"LEVEL=%f\n", sum*0.007936508); // wrap-around of ring buffer if (txptr >= RTXLEN) txptr=0; } diff --git a/newhpsdrsim.c b/newhpsdrsim.c index cf96e73..c1cc822 100644 --- a/newhpsdrsim.c +++ b/newhpsdrsim.c @@ -999,7 +999,6 @@ void *tx_thread(void * data) { sum += (di*di+dq*dq); } txlevel=sum * txdrv_dbl * txdrv_dbl * 0.0041667; - fprintf(stderr,"LEV1=%f LEV2=%f\n", sum*0.0041667, txlevel); } return NULL; } -- 2.45.2