diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-04-24 16:29:05 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-04-24 18:46:48 +0200 |
commit | a4316ee4c5d2f097823616f1ca3fa82b2f25204c (patch) | |
tree | c10f3728c25d978845b7a912e3feac901b20c13d /Transceiver52M | |
parent | 2128a308eb06aab9a94f479794d334705ae0505e (diff) |
Change configure define USRP1 to DEVICE_USRP1
Similar as we do for ARCH_*, it's easier to find those are related to
device support features.
Change-Id: Iba238bff689b8f944af76120402c0fa2e29a70de
Diffstat (limited to 'Transceiver52M')
-rw-r--r-- | Transceiver52M/Makefile.am | 2 | ||||
-rw-r--r-- | Transceiver52M/device/Makefile.am | 2 | ||||
-rw-r--r-- | Transceiver52M/radioInterface.cpp | 4 | ||||
-rw-r--r-- | Transceiver52M/radioInterface.h | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/Transceiver52M/Makefile.am b/Transceiver52M/Makefile.am index 26f7510..ae4a5bc 100644 --- a/Transceiver52M/Makefile.am +++ b/Transceiver52M/Makefile.am @@ -83,7 +83,7 @@ COMMON_LDADD = \ bin_PROGRAMS = osmo-trx osmo_trx_SOURCES = osmo-trx.cpp -if USRP1 +if DEVICE_USRP1 osmo_trx_LDADD = \ $(COMMON_LDADD) \ $(USRP_LIBS) \ diff --git a/Transceiver52M/device/Makefile.am b/Transceiver52M/device/Makefile.am index 8575328..f0675b0 100644 --- a/Transceiver52M/device/Makefile.am +++ b/Transceiver52M/device/Makefile.am @@ -4,7 +4,7 @@ noinst_HEADERS = radioDevice.h SUBDIRS = -if USRP1 +if DEVICE_USRP1 SUBDIRS += usrp1 else SUBDIRS += uhd diff --git a/Transceiver52M/radioInterface.cpp b/Transceiver52M/radioInterface.cpp index e039d5c..c3063ff 100644 --- a/Transceiver52M/radioInterface.cpp +++ b/Transceiver52M/radioInterface.cpp @@ -151,7 +151,7 @@ bool RadioInterface::start() return true; LOG(INFO) << "Starting radio device"; -#ifdef USRP1 +#ifdef DEVICE_USRP1 mAlignRadioServiceLoopThread.start((void * (*)(void*))AlignRadioServiceLoopAdapter, (void*)this); #endif @@ -191,7 +191,7 @@ bool RadioInterface::stop() return true; } -#ifdef USRP1 +#ifdef DEVICE_USRP1 void *AlignRadioServiceLoopAdapter(RadioInterface *radioInterface) { while (1) { diff --git a/Transceiver52M/radioInterface.h b/Transceiver52M/radioInterface.h index 531e1a8..e05d871 100644 --- a/Transceiver52M/radioInterface.h +++ b/Transceiver52M/radioInterface.h @@ -133,7 +133,7 @@ public: /** get transport window type of attached device */ enum RadioDevice::TxWindowType getWindowType() { return mRadio->getWindowType(); } -#if USRP1 +#if DEVICE_USRP1 protected: /** drive synchronization of Tx/Rx of USRP */ @@ -143,7 +143,7 @@ protected: #endif }; -#if USRP1 +#if DEVICE_USRP1 /** synchronization thread loop */ void *AlignRadioServiceLoopAdapter(RadioInterface*); #endif |