diff options
author | Eric <ewild@sysmocom.de> | 2023-07-24 20:44:06 +0200 |
---|---|---|
committer | Hoernchen <ewild@sysmocom.de> | 2023-07-28 12:19:41 +0000 |
commit | f57a86131ef48511fa92771ba008bc30e6ee9c3e (patch) | |
tree | af6647f5db61e56c4804435afc96d875be78ba74 | |
parent | 7d5c16590c59c2ed382b074860f9120d9e6013ac (diff) |
ms: drop the tx burst padding
useless.
Change-Id: Ied5c3ab5dde975e11b0ef6d9cbc86be19173c4e8
-rw-r--r-- | Transceiver52M/ms/ms.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Transceiver52M/ms/ms.cpp b/Transceiver52M/ms/ms.cpp index 896928e..ca41144 100644 --- a/Transceiver52M/ms/ms.cpp +++ b/Transceiver52M/ms/ms.cpp @@ -136,15 +136,16 @@ void ms_trx::submit_burst(blade_sample_type *buffer, int len, GSM::Time target) return; } - auto check = now_time + tosend; int64_t send_ts = now_ts + tosend.FN() * 8 * ONE_TS_BURST_LEN + tosend.TN() * ONE_TS_BURST_LEN - timing_advance; #ifdef DBGXX + auto check = now_time + tosend; std::cerr << "## fn DIFF: " << diff_fn << " ## tn DIFF: " << diff_tn << " tn LOCAL/OTHER: " << now_time.TN() << "/" << target_tn << " tndiff" << diff_tn << " tosend:" << tosend.FN() << ":" << tosend.TN() << " check: " << check.FN() << ":" << check.TN() << " target: " << target.FN() << ":" << target.TN() << " ts now: " << now_ts << " target ts:" << send_ts << std::endl; #endif -#if 1 +#if 0 + auto check = now_time + tosend; unsigned int pad = 4 * 4; blade_sample_type buf2[len + pad]; std::fill(buf2, buf2 + pad, 0); |