aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-04-30 18:48:04 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-05-03 13:50:50 +0200
commit51509b3895abd1aa38f1e303e79faf72476301af (patch)
treec6dac80c53cd1a6b476fd64b66f043ac69d14eb7
parentuhd: Avoid reallocation of buffers every read (diff)
downloadOsmoTRX-51509b3895abd1aa38f1e303e79faf72476301af.tar.xz
OsmoTRX-51509b3895abd1aa38f1e303e79faf72476301af.zip
Move smpl_buf out of uhd dir to re-use it in other devices
Change-Id: I39ac8435072cff8d4dac786b31ff4af9b61a77fe
-rw-r--r--Transceiver52M/device/Makefile.am2
-rw-r--r--Transceiver52M/device/smpl_buf.cpp (renamed from Transceiver52M/device/uhd/smpl_buf.cpp)0
-rw-r--r--Transceiver52M/device/smpl_buf.h (renamed from Transceiver52M/device/uhd/smpl_buf.h)0
-rw-r--r--Transceiver52M/device/uhd/Makefile.am4
4 files changed, 3 insertions, 3 deletions
diff --git a/Transceiver52M/device/Makefile.am b/Transceiver52M/device/Makefile.am
index 1a2d077..e653a9e 100644
--- a/Transceiver52M/device/Makefile.am
+++ b/Transceiver52M/device/Makefile.am
@@ -1,6 +1,6 @@
include $(top_srcdir)/Makefile.common
-noinst_HEADERS = radioDevice.h
+noinst_HEADERS = radioDevice.h smpl_buf.h
SUBDIRS =
diff --git a/Transceiver52M/device/uhd/smpl_buf.cpp b/Transceiver52M/device/smpl_buf.cpp
index f3fc323..f3fc323 100644
--- a/Transceiver52M/device/uhd/smpl_buf.cpp
+++ b/Transceiver52M/device/smpl_buf.cpp
diff --git a/Transceiver52M/device/uhd/smpl_buf.h b/Transceiver52M/device/smpl_buf.h
index e58eb38..e58eb38 100644
--- a/Transceiver52M/device/uhd/smpl_buf.h
+++ b/Transceiver52M/device/smpl_buf.h
diff --git a/Transceiver52M/device/uhd/Makefile.am b/Transceiver52M/device/uhd/Makefile.am
index 4fcc0d7..11b380e 100644
--- a/Transceiver52M/device/uhd/Makefile.am
+++ b/Transceiver52M/device/uhd/Makefile.am
@@ -3,8 +3,8 @@ include $(top_srcdir)/Makefile.common
AM_CPPFLAGS = -Wall $(STD_DEFINES_AND_INCLUDES) -I${srcdir}/..
AM_CXXFLAGS = -lpthread $(LIBOSMOCORE_CFLAGS) $(LIBOSMOCTRL_CFLAGS) $(LIBOSMOVTY_CFLAGS) $(UHD_CFLAGS)
-noinst_HEADERS = UHDDevice.h smpl_buf.h
+noinst_HEADERS = UHDDevice.h
noinst_LTLIBRARIES = libdevice.la
-libdevice_la_SOURCES = UHDDevice.cpp smpl_buf.cpp
+libdevice_la_SOURCES = UHDDevice.cpp ../smpl_buf.cpp