diff options
author | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2004-09-09 01:05:03 +0000 |
---|---|---|
committer | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2004-09-09 01:05:03 +0000 |
commit | 3e3a919a5d30ed7278b043b72322e6b47f83807c (patch) | |
tree | 7e0875f4a92f94a3370c03ffa71a4be5e80727fc | |
parent | 79ad56bfa29cf2f90c167ea1b0ca86405a5e987b (diff) |
Fix GCC 2.96 build (bug #2402)
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@454 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rwxr-xr-x | wcfxs.c | 2 | ||||
-rwxr-xr-x | wctdm.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -926,6 +926,7 @@ static int wcfxs_powerup_proslic(struct wcfxs *wc, int card, int fast) { unsigned char vbat; unsigned long origjiffies; + int lim; /* Set period of DC-DC converter to 1/64 khz */ wcfxs_setreg(wc, card, 92, 0xff /* was 0xff */); @@ -959,7 +960,6 @@ static int wcfxs_powerup_proslic(struct wcfxs *wc, int card, int fast) /* Proslic max allowed loop current, reg 71 LOOP_I_LIMIT */ /* If out of range, just set it to the default value */ - int lim; lim = (loopcurrent - 20) / 3; if ( loopcurrent > 41 ) { lim = 0; @@ -926,6 +926,7 @@ static int wcfxs_powerup_proslic(struct wcfxs *wc, int card, int fast) { unsigned char vbat; unsigned long origjiffies; + int lim; /* Set period of DC-DC converter to 1/64 khz */ wcfxs_setreg(wc, card, 92, 0xff /* was 0xff */); @@ -959,7 +960,6 @@ static int wcfxs_powerup_proslic(struct wcfxs *wc, int card, int fast) /* Proslic max allowed loop current, reg 71 LOOP_I_LIMIT */ /* If out of range, just set it to the default value */ - int lim; lim = (loopcurrent - 20) / 3; if ( loopcurrent > 41 ) { lim = 0; |