src.nth.io/

summaryrefslogtreecommitdiff
path: root/main/app_main.c
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2021-03-13 19:29:37 -0600
committerLuke Hoersten <[email protected]>2021-03-13 19:29:37 -0600
commit39fa7b33ee2df02f6d581a44045fd603cf119f44 (patch)
tree6de188f3e64a6eb73cd80dcfd371b407a3a3e28e /main/app_main.c
parent1db8c10bfd56257ab118cb2e2668d54b1624412f (diff)
Added more debug logging
Diffstat (limited to 'main/app_main.c')
-rw-r--r--main/app_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/app_main.c b/main/app_main.c
index be304cb..56060de 100644
--- a/main/app_main.c
+++ b/main/app_main.c
@@ -35,6 +35,8 @@ static void intercom_thread_entry(void *p)
.cid = HAP_CID_DOOR,
};
+ ESP_LOGI(TAG, "Intercom GPIO Pins [BELL: %d, ADC1: %d, LOCK: %d]", CONFIG_HOMEKIT_INTERCOM_BELL_GPIO_PIN, CONFIG_HOMEKIT_INTERCOM_BELL_ADC1_CHANNEL, CONFIG_HOMEKIT_INTERCOM_LOCK_GPIO_PIN);
+
hap_acc_t *intercom_accessory = hap_acc_create(&cfg);
/* Add a dummy Product Data */