From 1592ae8caa11c304c6800978fd801f52b45e8714 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Fri, 12 Mar 2021 15:38:35 -0600 Subject: Misc updates. --- main/app_main.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'main/app_main.c') diff --git a/main/app_main.c b/main/app_main.c index 24138c9..ee0a6ad 100644 --- a/main/app_main.c +++ b/main/app_main.c @@ -23,9 +23,6 @@ static void intercom_thread_entry(void *p) { hap_init(HAP_TRANSPORT_WIFI); /* Initialize the HAP core */ - /* Initialise the mandatory parameters for Accessory which will be added as - * the mandatory services internally - */ hap_acc_cfg_t cfg = { .name = "Intercom", .manufacturer = "Luke Hoersten", @@ -38,7 +35,7 @@ static void intercom_thread_entry(void *p) .cid = HAP_CID_DOOR, }; - hap_acc_t *intercom_accessory = hap_acc_create(&cfg); /* Create accessory object */ + hap_acc_t *intercom_accessory = hap_acc_create(&cfg); /* Add a dummy Product Data */ uint8_t product_data[] = {'E', 'S', 'P', '3', '2', 'H', 'A', 'P'}; -- cgit v1.2.3