fix issue with SDRThread logging

This commit is contained in:
Charles J. Cliffe 2014-10-27 21:26:12 -04:00
parent d27d91c1ef
commit 5f0bc4f4f8

View File

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