mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-22 11:49:38 -05:00
fix issue with SDRThread logging
This commit is contained in:
parent
d27d91c1ef
commit
5f0bc4f4f8
@ -98,12 +98,12 @@ wxThread::ExitCode SDRThread::Entry() {
|
|||||||
|
|
||||||
rtlsdr_read_sync(dev, buf, BUF_SIZE, &n_read);
|
rtlsdr_read_sync(dev, buf, BUF_SIZE, &n_read);
|
||||||
|
|
||||||
std::cout << (n_read == BUF_SIZE) ? "." : "!";
|
|
||||||
|
|
||||||
if (i % 50 == 0) {
|
if (i % 50 == 0) {
|
||||||
std::cout << std::endl;
|
std::cout << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::cout << ((n_read == BUF_SIZE) ? "." : "!");
|
||||||
|
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
std::cout << std::endl << "Done." << std::endl << std::endl;
|
std::cout << std::endl << "Done." << std::endl << std::endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user