diff options
-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; |