From: c vw <dl1ycf@darc.de>
Date: Wed, 17 Jul 2019 14:56:59 +0000 (+0200)
Subject: removed debug code
X-Git-Url: https://git.rkrishnan.org/pf/module-simplejson.html?a=commitdiff_plain;h=8206895e336dcb59494d3fe9e779bc9875e4f943;p=pihpsdr.git

removed debug code
---

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;
 }