diff options
| author | Luke Hoersten <[email protected]> | 2021-05-30 11:00:27 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2021-05-30 11:00:27 -0500 |
| commit | ea05037258993adc5707333696255da0bf9e40ad (patch) | |
| tree | a7b145e20062583de613f3d2aaf708194821c5db /main/include/lock.h | |
| parent | cdadb059ccc5577de4bb65660938914a3a245a60 (diff) | |
Doorbell interrupts working.
GPIO cannot do both ADC and ISR so split the pins.
Diffstat (limited to 'main/include/lock.h')
| -rw-r--r-- | main/include/lock.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/main/include/lock.h b/main/include/lock.h index d26a222..aca9b67 100644 --- a/main/include/lock.h +++ b/main/include/lock.h @@ -12,4 +12,6 @@ int intercom_lock_write_cb(hap_write_data_t write_data[], int count, void *serv_ void intercom_lock_timer_cb(TimerHandle_t timer); -hap_serv_t *intercom_lock_init(uint32_t key_gpio_pin); +void intercom_lock_gpio_init(); + +hap_serv_t *intercom_lock_init(); |
