summaryrefslogtreecommitdiff
path: root/xhfc
diff options
context:
space:
mode:
authorNoe Rubinstein <nrubinstein@proformatique.com>2010-10-29 18:01:10 +0200
committerNoe Rubinstein <nrubinstein@proformatique.com>2010-10-29 18:01:10 +0200
commit1512ecac55bd47d0af37953baa27cfdc3c99aa3f (patch)
treee35f089c32893fde821dc99485d1882749dcd20a /xhfc
parent4af0ad04002b7e02226975bf1af73ea00e077f74 (diff)
change values for timers
note: TIMER_1_MS does not mean "1 millisecond timer", it means "timer 1, in milliseconds".
Diffstat (limited to 'xhfc')
-rw-r--r--xhfc/xhfc_timers_state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xhfc/xhfc_timers_state.c b/xhfc/xhfc_timers_state.c
index 916ba0f..7f59488 100644
--- a/xhfc/xhfc_timers_state.c
+++ b/xhfc/xhfc_timers_state.c
@@ -19,7 +19,7 @@
#define bri_alarmdebounce 0 /* msec to wait before set/clear alarm
condition */
-#define TIMER_3_MS 3
+#define TIMER_3_MS 30000
/*
* allocates memory and pretty-prints a given S/T state engine state to it.
@@ -102,7 +102,7 @@ void hfc_start_st(struct xhfc_span *s)
/* start T1 if in NT mode, T3 if in TE mode */
if (s->nt) {
- static const int TIMER_1_MS = 2;
+ static const int TIMER_1_MS = 1000;
s->hfc_timers[XHFC_T1] = xhfc->ticks + TIMER_1_MS;
s->hfc_timer_on[XHFC_T1] = 1;
s->hfc_timer_on[XHFC_T3] = 0;