forked from sdr/gr-osmosdr
rtl: print overflow marker to stderr
This commit is contained in:
parent
bb2833250c
commit
e3c60c4a70
|
@ -220,7 +220,7 @@ void rtl_source_c::rtlsdr_callback(unsigned char *buf, uint32_t len)
|
|||
memcpy(_buf[buf_tail], buf, len);
|
||||
|
||||
if (_buf_used == _buf_num) {
|
||||
printf("O"); fflush(stdout);
|
||||
std::cerr << "O" << std::flush;
|
||||
_buf_head = (_buf_head + 1) % _buf_num;
|
||||
} else {
|
||||
_buf_used++;
|
||||
|
|
Loading…
Reference in New Issue