summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wctdm.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/wctdm.c b/wctdm.c
index 0b50771..e64c995 100644
--- a/wctdm.c
+++ b/wctdm.c
@@ -915,18 +915,18 @@ static inline void wctdm_voicedaa_check_hook(struct wctdm *wc, int card)
fxo->battdebounce = battdebounce / MS_PER_CHECK_HOOK;
}
}
+ }
- if (fxo->lastpol >= 0) {
- if (b < 0) {
- fxo->lastpol = -1;
- fxo->polaritydebounce = POLARITY_DEBOUNCE / MS_PER_CHECK_HOOK;
- }
- }
- if (fxo->lastpol <= 0) {
- if (b > 0) {
- fxo->lastpol = 1;
- fxo->polaritydebounce = POLARITY_DEBOUNCE / MS_PER_CHECK_HOOK;
- }
+ if (fxo->lastpol >= 0) {
+ if (b < 0) {
+ fxo->lastpol = -1;
+ fxo->polaritydebounce = POLARITY_DEBOUNCE / MS_PER_CHECK_HOOK;
+ }
+ }
+ if (fxo->lastpol <= 0) {
+ if (b > 0) {
+ fxo->lastpol = 1;
+ fxo->polaritydebounce = POLARITY_DEBOUNCE / MS_PER_CHECK_HOOK;
}
}