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:
Pau Espin Pedrol
2018-04-24 16:29:05 +02:00
parent 2128a308eb
commit a4316ee4c5
5 changed files with 7 additions and 7 deletions

View File

@@ -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) {