summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2012-06-20 20:27:54 +0200
committerDavid Lamparter <equinox@diac24.net>2012-06-20 20:27:54 +0200
commite76be747809cd78e8dafe6be0d76090295bcfb3f (patch)
tree25d754504fc1f5fca762b0d61630da2711f1bc39
parente05fcb5afe9412ab2fcd5110bbf077a606810e1a (diff)
dali: fix timing for tridonic
-rw-r--r--dali2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dali2.c b/dali2.c
index 5a7d4f9..7cee997 100644
--- a/dali2.c
+++ b/dali2.c
@@ -82,7 +82,8 @@ ISR(TIMER0_COMPA_vect)
if (dali_s_listening() && hist_majority_1()) {
rx_prevstate_errs = dali_state;
dali_state = DALI_RX_SBIT;
- subsamp = 1;
+ subsamp = 0;
+ return;
}
if (subsamp)