diff options
author | Vidister <git@vidister.de> | 2017-07-04 23:22:50 +0200 |
---|---|---|
committer | Vidister <git@vidister.de> | 2017-07-04 23:22:50 +0200 |
commit | 7082fe8c97faaf6cc4789fb9f66fd4a1c716979e (patch) | |
tree | 93a88c209b54d98c065521416811eaeff8b02d89 | |
parent | f090d7a2685966c7566c24307f89e7674164ec2a (diff) | |
download | cccb-klingel-7082fe8c97faaf6cc4789fb9f66fd4a1c716979e.tar.gz cccb-klingel-7082fe8c97faaf6cc4789fb9f66fd4a1c716979e.tar.bz2 cccb-klingel-7082fe8c97faaf6cc4789fb9f66fd4a1c716979e.zip |
(hopefully) fix false positives
-rw-r--r-- | main.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -7,11 +7,11 @@ #define HZ 15625ULL #define TIMEOUT_SEC 4 -#define MIN_PULSE_WIDTH_MS 10 -#define RING_DURATION_SEC 20 -#define OPEN_DURATION_SEC 3 -#define THURSDAY_TIMEOUT_MIN 300UL -#define THURSDAY_OPEN_DELAY 750UL +#define MIN_PULSE_WIDTH_MS 25 +#define RING_DURATION_SEC 20 // Time the lamp lights up +#define OPEN_DURATION_SEC 4 // Door open duration +#define THURSDAY_TIMEOUT_MIN 420UL // Minutes till Thursday is disabled +#define THURSDAY_OPEN_DELAY 750UL // Time till the door is opened when the doorbell is pressed #define PRESSED_MIN_MS 50UL #define RELEASED_MIN_MS 50UL |