summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)