trx_toolkit/clck_gen.py: call send_clck_ind() on every TDMA frame
Change-Id: I6d53e5266fa3b1f2eb55822d1c14975789b202ed
This commit is contained in:
parent
e2aaeb59b3
commit
93beb3f5c5
|
@ -53,7 +53,6 @@ class CLCKGen:
|
||||||
# Calculate counter time
|
# Calculate counter time
|
||||||
self.ctr_interval = self.GSM_FRAME_US - self.LO_DELAY_US
|
self.ctr_interval = self.GSM_FRAME_US - self.LO_DELAY_US
|
||||||
self.ctr_interval /= self.SEC_DELAY_US
|
self.ctr_interval /= self.SEC_DELAY_US
|
||||||
self.ctr_interval *= self.ind_period
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def running(self):
|
def running(self):
|
||||||
|
@ -109,7 +108,7 @@ class CLCKGen:
|
||||||
log.debug(payload.rstrip("\0"))
|
log.debug(payload.rstrip("\0"))
|
||||||
|
|
||||||
# Increase frame count
|
# Increase frame count
|
||||||
self.clck_src += self.ind_period
|
self.clck_src += 1
|
||||||
|
|
||||||
# Just a wrapper for independent usage
|
# Just a wrapper for independent usage
|
||||||
class Application(ApplicationBase):
|
class Application(ApplicationBase):
|
||||||
|
|
Loading…
Reference in New Issue