src.nth.io/

summaryrefslogtreecommitdiff
path: root/main/app_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/app_main.c')
-rw-r--r--main/app_main.c5
1 files changed, 1 insertions, 4 deletions
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'};