diff options
author | Jon Szymaniak <jon.szymaniak@gmail.com> | 2013-10-26 15:59:23 -0400 |
---|---|---|
committer | Dimitri Stolnikov <horiz0n@gmx.net> | 2013-10-30 18:59:54 +0100 |
commit | 44bd325a86352e5869017522e0a4990c5a22c4c3 (patch) | |
tree | 4cabecc3891e932b367b1da99646587529f847bc /lib/bladerf/bladerf_sink_c.h | |
parent | 03c42ef3206f5667459f78781f95d7fc5c322053 (diff) |
bladerf: Moved initializations to bladerf_common.c, misc. cleanup
Common parameter handling has been moved into bladerf_common::init().
The buflen parameter is now in units of samples, not bytes. This
deviates from the other gr-osmosdr items. However, with the requirement
that buffers be in multiples of 1024 samples, this makes specifying this
parameter a bit easier. The user shouldn't need to know we're operating
on SC16Q12 values under the hood, and have to calculate accordingly.
To avoid confusion when both a bladeRF source and sink are in a flow
graph a [bladeRF source/sink] prefix has been added to output. Error
number have been replaced with bladeRF string representations of these
error values.
Firmware flashing has been removed. The bladeRF-cli or bladeRF-flash
tools are the preferred route for firmware upgrades.
Diffstat (limited to 'lib/bladerf/bladerf_sink_c.h')
-rw-r--r-- | lib/bladerf/bladerf_sink_c.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/bladerf/bladerf_sink_c.h b/lib/bladerf/bladerf_sink_c.h index d969264..ca43e26 100644 --- a/lib/bladerf/bladerf_sink_c.h +++ b/lib/bladerf/bladerf_sink_c.h @@ -120,8 +120,6 @@ private: /* functions */ private: /* members */ - size_t _samples_per_buffer; - /* Array denoting whether each buffer is filled with data and ready to TX */ bool *_filled; |