[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r7649 - usrp2/trunk/host/apps
From: |
eb |
Subject: |
[Commit-gnuradio] r7649 - usrp2/trunk/host/apps |
Date: |
Tue, 12 Feb 2008 15:04:30 -0700 (MST) |
Author: eb
Date: 2008-02-12 15:04:29 -0700 (Tue, 12 Feb 2008)
New Revision: 7649
Modified:
usrp2/trunk/host/apps/rx_samples.cc
usrp2/trunk/host/apps/rx_streaming_samples.cc
Log:
fixed SEGFAULT with -S and changed default scale to 1024
Modified: usrp2/trunk/host/apps/rx_samples.cc
===================================================================
--- usrp2/trunk/host/apps/rx_samples.cc 2008-02-12 14:36:25 UTC (rev 7648)
+++ usrp2/trunk/host/apps/rx_samples.cc 2008-02-12 22:04:29 UTC (rev 7649)
@@ -122,7 +122,7 @@
int32_t decim = 32;
int32_t nsamples = static_cast<int32_t>(2.5e6);
int32_t samples_per_frame = 371;
- int32_t scale = 256;
+ int32_t scale = 1024;
int ch;
double tmp;
@@ -130,7 +130,7 @@
setvbuf(stdout, 0, _IOFBF, 64 * 1024); // make stdout fully buffered
- while ((ch = getopt(argc, argv, "he:m:o:f:d:N:F:S")) != EOF){
+ while ((ch = getopt(argc, argv, "he:m:o:f:d:N:F:S:")) != EOF){
switch (ch){
case 'e':
Modified: usrp2/trunk/host/apps/rx_streaming_samples.cc
===================================================================
--- usrp2/trunk/host/apps/rx_streaming_samples.cc 2008-02-12 14:36:25 UTC
(rev 7648)
+++ usrp2/trunk/host/apps/rx_streaming_samples.cc 2008-02-12 22:04:29 UTC
(rev 7649)
@@ -211,7 +211,7 @@
int32_t decim = 32;
uint64_t nsamples = ~0;
int32_t samples_per_frame = 371;
- int32_t scale = 256;
+ int32_t scale = 1024;
int ch;
double tmp;
@@ -219,7 +219,7 @@
// setvbuf(stdout, 0, _IOFBF, 64 * 1024); // make stdout fully buffered
- while ((ch = getopt(argc, argv, "he:m:o:f:d:N:F:S")) != EOF){
+ while ((ch = getopt(argc, argv, "he:m:o:f:d:N:F:S:")) != EOF){
switch (ch){
case 'e':
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r7649 - usrp2/trunk/host/apps,
eb <=