fix compilation error for Lime driver
This commit is contained in:
@@ -29,6 +29,10 @@
|
||||
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#include "PHY/sse_intrin.h"
|
||||
|
||||
@@ -428,4 +432,8 @@ double interp(double x, double *xs, double *ys, int count);
|
||||
|
||||
int write_output(const char *fname,const char *vname,void *data,int length,int dec,char format);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif //__PHY_TOOLS_DEFS__H__
|
||||
|
||||
@@ -178,7 +178,7 @@ int trx_lms_start(openair0_device *device){
|
||||
}
|
||||
|
||||
LMS_Init(lms_device);
|
||||
LMS_EnableCalibCache(lms_device,false);
|
||||
LMS_EnableCache(lms_device,false);
|
||||
|
||||
if (LMS_LoadConfig(lms_device,device->openair0_cfg[0].configFilename) != 0)
|
||||
{
|
||||
@@ -277,6 +277,7 @@ int trx_lms_stop(openair0_device *device) {
|
||||
LMS_DestroyStream(lms_device,&rx_stream);
|
||||
LMS_DestroyStream(lms_device,&tx_stream);
|
||||
LMS_Close(lms_device);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*! \brief Set frequencies (TX/RX)
|
||||
|
||||
Reference in New Issue
Block a user