summaryrefslogtreecommitdiff
path: root/wcfxs.c
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2003-11-07 21:27:51 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2003-11-07 21:27:51 +0000
commit17b06fd65745c313ffdaedf0d6a92589ca67874a (patch)
treec30363608f29ad40ece9258974551b84ad875c4b /wcfxs.c
parent46eb3001062c4b517b24185b761036adc7a3b120 (diff)
Implement BOOST_RINGER properly
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@267 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wcfxs.c')
-rwxr-xr-xwcfxs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/wcfxs.c b/wcfxs.c
index a6fea02..8805792 100755
--- a/wcfxs.c
+++ b/wcfxs.c
@@ -926,8 +926,10 @@ static int wcfxs_init_proslic(struct wcfxs *wc, int card, int fast, int manual,
#endif
#ifdef BOOST_RINGER
+ wcfxs_setreg(wc, card, 74, 0x3f);
+
/* Beef up Ringing voltage to 89V */
- if (wcfxs_setreg_indirect(wc, card, 23, 0x1d1))
+ if (wcfxs_setreg_indirect(wc, card, 21, 0x1d1))
return -1;
#endif
return 0;