Skip to content

Commit

Permalink
Merge branch 'fix/esp_local_ctrl_header_incl' into 'master'
Browse files Browse the repository at this point in the history
esp_local_ctrl: Fix header inclusion

See merge request espressif/esp-idf!22033
  • Loading branch information
mahavirj committed Jan 13, 2023
2 parents def5db1 + e7efda4 commit c0c2e3a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 6 additions & 0 deletions components/esp_local_ctrl/include/esp_local_ctrl.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
extern "C" {
#endif

#include <sdkconfig.h>
#ifdef CONFIG_ESP_HTTPS_SERVER_ENABLE
#include <esp_https_server.h>
#else
#include <esp_http_server.h>
#endif
#include <protocomm.h>

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,7 @@
#include <esp_log.h>
#include <esp_timer.h>
#include <esp_local_ctrl.h>
#ifdef CONFIG_ESP_HTTPS_SERVER_ENABLE
#include <esp_https_server.h>
#else
#include <esp_http_server.h>
#endif

static const char *TAG = "control";

#define SERVICE_NAME "my_esp_ctrl_device"
Expand Down

0 comments on commit c0c2e3a

Please sign in to comment.