aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2019-12-21 19:57:42 +0100
committerHarald Welte <laforge@osmocom.org>2019-12-21 19:57:42 +0100
commit2a20abe54e48ee62ee3ec59d192b329c1b2d0248 (patch)
treefc4f68266f80d12eb45961ccf1be1519814591e8
parentc590c19cc6cd8bd020f56faff70b15603be81935 (diff)
e1: Don't touch TC TIOB; Don't soft-restart on e1_tc_align_set()
-rw-r--r--sam/applications/sam_e1/e1_ssc_tc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sam/applications/sam_e1/e1_ssc_tc.c b/sam/applications/sam_e1/e1_ssc_tc.c
index 9e6e8701..aa0268ae 100644
--- a/sam/applications/sam_e1/e1_ssc_tc.c
+++ b/sam/applications/sam_e1/e1_ssc_tc.c
@@ -42,7 +42,6 @@ void e1_tc_align_init(void)
tc_write_rc(TC_ALIGN, TC_CHANNEL_ALIGN, 256);
/* use RA to shift position of rising edge of generated frame signal */
tc_write_ra(TC_ALIGN, TC_CHANNEL_ALIGN, 16);
- tc_write_rb(TC_ALIGN, TC_CHANNEL_ALIGN, 64);
tc_start(TC_ALIGN, TC_CHANNEL_ALIGN);
}
@@ -55,8 +54,6 @@ uint32_t e1_tc_align_read(void)
void e1_tc_align_set(uint8_t pos)
{
tc_write_ra(TC_ALIGN, TC_CHANNEL_ALIGN, pos);
- tc_write_rb(TC_ALIGN, TC_CHANNEL_ALIGN, (pos+16)%256);
- tc_start(TC_ALIGN, TC_CHANNEL_ALIGN);
}