From 44bd325a86352e5869017522e0a4990c5a22c4c3 Mon Sep 17 00:00:00 2001 From: Jon Szymaniak Date: Sat, 26 Oct 2013 15:59:23 -0400 Subject: 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. --- lib/bladerf/bladerf_sink_c.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/bladerf/bladerf_sink_c.h') 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; -- cgit v1.2.3