summaryrefslogtreecommitdiff
path: root/wctdm.c
diff options
context:
space:
mode:
Diffstat (limited to 'wctdm.c')
-rwxr-xr-xwctdm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/wctdm.c b/wctdm.c
index 226a2d5..bdcceda 100755
--- a/wctdm.c
+++ b/wctdm.c
@@ -1455,6 +1455,11 @@ static int wctdm_init_voicedaa(struct wctdm *wc, int card, int fast, int manual,
(wctdm_getreg(wc, card, 13) >> 2) & 0xf);
/* Enable on-hook line monitor */
wctdm_setreg(wc, card, 5, 0x08);
+
+ /* NZ -- crank the tx gain up by 7 dB */
+ if (!strcmp(fxo_modes[_opermode].name, "NEWZEALAND"))
+ wctdm_setreg(wc, card, 38, 0x7);
+
return 0;
}