diff options
| author | Luke Hoersten <[email protected]> | 2021-03-13 19:52:47 -0600 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2021-03-13 19:52:47 -0600 |
| commit | 5cde01f925b65196590b40e368d831c5f29ee29d (patch) | |
| tree | 0c8913e83572145d1f128912f250f42738c0f3d5 /main/app_main.c | |
| parent | 39fa7b33ee2df02f6d581a44045fd603cf119f44 (diff) | |
Minor cleanup
Diffstat (limited to 'main/app_main.c')
| -rw-r--r-- | main/app_main.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/main/app_main.c b/main/app_main.c index 56060de..8b601e3 100644 --- a/main/app_main.c +++ b/main/app_main.c @@ -14,11 +14,6 @@ #define INTERCOM_TASK_STACKSIZE 4 * 1024 #define INTERCOM_TASK_NAME "hap_intercom" -#define RESET_NETWORK_BUTTON_TIMEOUT 3 - -/* static uint8_t tlv8buff[128]; -static hap_data_val_t null_tlv8 = {.buf = &tlv8buff, .buflen = 127}; */ - static void intercom_thread_entry(void *p) { hap_init(HAP_TRANSPORT_WIFI); /* Initialize the HAP core */ @@ -75,12 +70,10 @@ static void intercom_thread_entry(void *p) app_wifi_init(); /* Initialize Wi-Fi */ hap_start(); /* After all the initializations are done, start the HAP core */ - - ESP_LOGI(TAG, "Intercom HAP initialized"); + ESP_LOGI(TAG, "Intercom HAP started"); app_wifi_start(portMAX_DELAY); /* Start Wi-Fi */ - - ESP_LOGI(TAG, "Intercom WIFI initialized"); + ESP_LOGI(TAG, "Intercom WIFI started"); vTaskDelete(NULL); /* The task ends here. The read/write callbacks will be invoked by the HAP Framework */ } |
