diff options
Diffstat (limited to 'Transceiver52M/radioInterface.cpp')
-rw-r--r-- | Transceiver52M/radioInterface.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Transceiver52M/radioInterface.cpp b/Transceiver52M/radioInterface.cpp index e9fcd49..a633738 100644 --- a/Transceiver52M/radioInterface.cpp +++ b/Transceiver52M/radioInterface.cpp @@ -51,8 +51,11 @@ RadioInterface::~RadioInterface(void) close(); } -bool RadioInterface::init() +bool RadioInterface::init(int type) { + if (type != RadioDevice::NORMAL) + return false; + close(); sendBuffer = new signalVector(OUTCHUNK * 20); |