Skip to content

Commit

Permalink
openssl_server: Rename openssl_client_init() to openssl_server_init()…
Browse files Browse the repository at this point in the history
… to match usage

Merges #928
  • Loading branch information
chmorgan authored and projectgus committed Aug 30, 2017
1 parent ef60d73 commit 105f9f4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ static void openssl_example_task(void *p)
return ;
}

static void openssl_client_init(void)
static void openssl_server_init(void)
{
int ret;
xTaskHandle openssl_handle;
Expand All @@ -219,7 +219,7 @@ static esp_err_t wifi_event_handler(void *ctx, system_event_t *event)
break;
case SYSTEM_EVENT_STA_GOT_IP:
xEventGroupSetBits(wifi_event_group, CONNECTED_BIT);
openssl_client_init();
openssl_server_init();
break;
case SYSTEM_EVENT_STA_DISCONNECTED:
/* This is a workaround as ESP32 WiFi libs don't currently
Expand Down

0 comments on commit 105f9f4

Please sign in to comment.