diff options
author | Dimitri Stolnikov <horiz0n@gmx.net> | 2012-08-08 20:45:03 +0200 |
---|---|---|
committer | Dimitri Stolnikov <horiz0n@gmx.net> | 2012-08-08 20:45:03 +0200 |
commit | e3c60c4a70352bac1b0f4b8d92e4f0cc306f1122 (patch) | |
tree | 597641c5b09e154c9ad9acc079042d04207e73f1 /lib/rtl/rtl_source_c.cc | |
parent | bb2833250cad3ab5ec1a3d4f4f558f2c437e43f4 (diff) |
rtl: print overflow marker to stderr
Diffstat (limited to 'lib/rtl/rtl_source_c.cc')
-rw-r--r-- | lib/rtl/rtl_source_c.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rtl/rtl_source_c.cc b/lib/rtl/rtl_source_c.cc index 244ed1a..0ca49af 100644 --- a/lib/rtl/rtl_source_c.cc +++ b/lib/rtl/rtl_source_c.cc @@ -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++; |