aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/radioDevice.h
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-02-21 14:59:19 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2018-03-05 17:16:05 +0100
commitefac20b6bb856eccd4995c4513318375f292a1d1 (patch)
treef2768696d64eca95390a151936d2461de68ba16b /Transceiver52M/radioDevice.h
parent0bbd8922ea637dbfb013ebf2e79b754f03929cb0 (diff)
Move enums required by VTY to a separate header
This patch is a preparation for next patches, which add full VTY cfg support. Change-Id: I3d5b0576aa96869756f1629a40306c0043b6304b
Diffstat (limited to 'Transceiver52M/radioDevice.h')
-rw-r--r--Transceiver52M/radioDevice.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/Transceiver52M/radioDevice.h b/Transceiver52M/radioDevice.h
index dfa1c78..9913de0 100644
--- a/Transceiver52M/radioDevice.h
+++ b/Transceiver52M/radioDevice.h
@@ -18,6 +18,10 @@
#include <string>
#include <vector>
+extern "C" {
+#include "config_defs.h"
+}
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@@ -43,12 +47,6 @@ class RadioDevice {
MULTI_ARFCN,
};
- enum ReferenceType {
- REF_INTERNAL,
- REF_EXTERNAL,
- REF_GPS,
- };
-
static RadioDevice *make(size_t tx_sps, size_t rx_sps, InterfaceType type,
size_t chans = 1, double offset = 0.0,
const std::vector<std::string>& tx_paths = std::vector<std::string>(1, ""),