]> granicus.if.org Git - esp-idf/commitdiff
Protocomm : Use esp_http_server instead of http_server
authorAnurag Kar <anurag.kar@espressif.com>
Wed, 24 Oct 2018 10:09:43 +0000 (15:39 +0530)
committerAnurag Kar <anurag.kar@espressif.com>
Wed, 24 Oct 2018 12:02:43 +0000 (17:32 +0530)
components/protocomm/CMakeLists.txt
components/protocomm/src/transports/protocomm_httpd.c

index a6609e5aa51422a274f505f39a923053210e11d1..ec3a7365ba90bdde4e92fcdc96fa6eb662a455bc 100644 (file)
@@ -12,7 +12,7 @@ set(COMPONENT_SRCS  "src/common/protocomm.c"
                     "src/transports/protocomm_console.c"
                     "src/transports/protocomm_httpd.c")
 
-set(COMPONENT_PRIV_REQUIRES protobuf-c mbedtls console http_server bt)
+set(COMPONENT_PRIV_REQUIRES protobuf-c mbedtls console esp_http_server bt)
 
 if(CONFIG_BT_ENABLED)
     if(CONFIG_BLUEDROID_ENABLED)
index e8d2466032911aa4318f5e288611b2ea9ea868e4..a7c9b5599e6c76c5f222f837e6d2fd979de8a037 100644 (file)
@@ -17,7 +17,7 @@
 #include <esp_log.h>
 #include <esp_err.h>
 
-#include <http_server.h>
+#include <esp_http_server.h>
 
 #include <protocomm.h>
 #include <protocomm_httpd.h>