src.nth.io/

summaryrefslogtreecommitdiff
path: root/main/app_main.c
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2021-03-13 08:47:16 -0600
committerLuke Hoersten <[email protected]>2021-03-13 08:47:16 -0600
commit1db8c10bfd56257ab118cb2e2668d54b1624412f (patch)
treef511b2351785ed80db7b9b7b3ef553c0611e5db4 /main/app_main.c
parentca72e0e90f850ff5d757be2f6dc658c5d558620c (diff)
Added some debug logging.
Diffstat (limited to 'main/app_main.c')
-rw-r--r--main/app_main.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/main/app_main.c b/main/app_main.c
index fd462b4..be304cb 100644
--- a/main/app_main.c
+++ b/main/app_main.c
@@ -71,10 +71,15 @@ static void intercom_thread_entry(void *p)
hap_enable_mfi_auth(HAP_MFI_AUTH_HW); /* Enable Hardware MFi authentication (applicable only for MFi variant of SDK) */
- app_wifi_init(); /* Initialize Wi-Fi */
- hap_start(); /* After all the initializations are done, start the HAP core */
+ app_wifi_init(); /* Initialize Wi-Fi */
+ hap_start(); /* After all the initializations are done, start the HAP core */
+
+ ESP_LOGI(TAG, "Intercom HAP initialized");
+
app_wifi_start(portMAX_DELAY); /* Start Wi-Fi */
+ ESP_LOGI(TAG, "Intercom WIFI initialized");
+
vTaskDelete(NULL); /* The task ends here. The read/write callbacks will be invoked by the HAP Framework */
}