src.nth.io/

summaryrefslogtreecommitdiff
path: root/main/app_main.c
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2021-03-12 15:38:35 -0600
committerLuke Hoersten <[email protected]>2021-03-12 15:38:35 -0600
commit1592ae8caa11c304c6800978fd801f52b45e8714 (patch)
tree3d604ab97ddfd02f95a8c76c5ad66b12413fbc87 /main/app_main.c
parent6848c47dd9046e6ed927167adb9185205755c4de (diff)
Misc updates.
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'};