projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c81847e
)
removed debug code
author
c vw
<dl1ycf@darc.de>
Wed, 17 Jul 2019 14:56:59 +0000
(16:56 +0200)
committer
c vw
<dl1ycf@darc.de>
Wed, 17 Jul 2019 14:56:59 +0000
(16:56 +0200)
hpsdrsim.c
patch
|
blob
|
history
newhpsdrsim.c
patch
|
blob
|
history
diff --git
a/hpsdrsim.c
b/hpsdrsim.c
index 358c74a7bf5cf9bd7b13f759b54e0ad56177e71a..881ea136677a9dd9c8117bb378d6e26b97701d81 100644
(file)
--- 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 cf96e7368a7f7ecb1dd1b19a715e986c625a1dd5..c1cc8222e3a1572c60eadca494d0c8d8f105961f 100644
(file)
--- 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;
}