mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-trx.git
synced 2025-11-13 18:36:08 +00:00
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
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user