diff options
| author | Luke Hoersten <[email protected]> | 2021-03-12 17:07:44 -0600 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2021-03-12 17:07:44 -0600 |
| commit | d23be047e18ef9b97e5c72073c9236f59ac60d5f (patch) | |
| tree | 6c8db9bef1270ef2d6d8d6a1ab69e4f8a0e4549f /main/src/bell.c | |
| parent | 1592ae8caa11c304c6800978fd801f52b45e8714 (diff) | |
Fixed lock timeout bug
Diffstat (limited to 'main/src/bell.c')
| -rw-r--r-- | main/src/bell.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/src/bell.c b/main/src/bell.c index 228179e..689856c 100644 --- a/main/src/bell.c +++ b/main/src/bell.c @@ -26,7 +26,10 @@ bool is_bell_ringing(int val) void IRAM_ATTR intercom_bell_isr(void *arg) { if (is_intercom_bell_blocked) + { + ESP_LOGI(TAG, "Intercom bell ring BLOCKED"); return; + } int val = adc1_get_raw(CONFIG_HOMEKIT_INTERCOM_BELL_ADC1_CHANNEL); if (is_bell_ringing(val)) |
