aboutsummaryrefslogtreecommitdiffstats
path: root/python/transmitter
diff options
context:
space:
mode:
authorPiotr Krysik <ptrkrysik@gmail.com>2017-10-31 05:54:31 +0100
committerPiotr Krysik <ptrkrysik@gmail.com>2017-10-31 05:54:31 +0100
commit33fbc285008edf64ea763d32ebe6e6b347fd93b2 (patch)
treed9a5e18a0643b57cce0ef66ac07ae820cc75184b /python/transmitter
parent12dd9cba1f816eb69115c379eab75a10ae8b0d52 (diff)
Correction of bursts tagger
Diffstat (limited to 'python/transmitter')
-rw-r--r--python/transmitter/txtime_bursts_tagger.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/transmitter/txtime_bursts_tagger.py b/python/transmitter/txtime_bursts_tagger.py
index a083c48..de42f65 100644
--- a/python/transmitter/txtime_bursts_tagger.py
+++ b/python/transmitter/txtime_bursts_tagger.py
@@ -73,8 +73,8 @@ class txtime_bursts_tagger(gr.basic_block):
txtime_corrected = txtime - self.delay_correction
txtime_final = txtime_corrected - self.timing_advance
- txtime_secs = int(txtime)
- txtime_fracs = txtime-int(txtime)
+ txtime_secs = int(txtime_final)
+ txtime_fracs = txtime_final-int(txtime_final)
#print "txtime_secs",txtime_secs,"txtime_fracs",txtime_fracs
tags_dict = pmt.dict_add(pmt.make_dict(), pmt.intern("tx_time"), pmt.make_tuple(pmt.from_uint64(txtime_secs),pmt.from_double(txtime_fracs)))
tags_dict = pmt.dict_add(tags_dict, pmt.intern("fn"), pmt.from_uint64(fn))