forked from sdr/gr-osmosdr
osmosdr: print overflow marker to stderr
This commit is contained in:
parent
a43fef00a7
commit
bb2833250c
|
@ -189,7 +189,7 @@ void osmosdr_src_c::osmosdr_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