diff options
author | Thomas Tsou <tom@tsou.cc> | 2013-07-08 16:09:56 +0200 |
---|---|---|
committer | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2013-07-14 13:36:55 +0400 |
commit | 5e18001bb0138f3073c0471d29cc8e893770aedb (patch) | |
tree | c71ea49230e73c16eec45bcf9731ea794f5568ec | |
parent | 621e52ab4ae09ce8d6d14bb20a6a6efc0c28600d (diff) |
Transceiver52M: Disable TSC check on slot setting
-rw-r--r-- | Transceiver52M/Transceiver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Transceiver52M/Transceiver.cpp b/Transceiver52M/Transceiver.cpp index 3895ae5..7551faa 100644 --- a/Transceiver52M/Transceiver.cpp +++ b/Transceiver52M/Transceiver.cpp @@ -489,7 +489,7 @@ void Transceiver::driveControl() int corrCode; int timeslot; sscanf(buffer,"%3s %s %d %d",cmdcheck,command,×lot,&corrCode); - if ((mTSC<0) || (timeslot < 0) || (timeslot > 7)) { + if ((timeslot < 0) || (timeslot > 7)) { LOG(WARNING) << "bogus message on control interface"; sprintf(response,"RSP SETSLOT 1 %d %d",timeslot,corrCode); return; |