Sfoglia il codice sorgente

Protocomm : Use esp_http_server instead of http_server

Anurag Kar 7 anni fa
parent
commit
e2b1ae259d

+ 1 - 1
components/protocomm/CMakeLists.txt

@@ -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)

+ 1 - 1
components/protocomm/src/transports/protocomm_httpd.c

@@ -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>