From e76be747809cd78e8dafe6be0d76090295bcfb3f Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Wed, 20 Jun 2012 20:27:54 +0200 Subject: dali: fix timing for tridonic --- dali2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.1