pitrix/include/http_server.h
2019-06-13 06:01:44 +02:00

17 lines
269 B
C

#pragma once
#include "config.h"
#ifdef HTTP_SERVER_ENABLE
#include "my_wifi.h"
#if defined ( ESP8266 )
extern ESP8266WebServer http_server;
#elif defined ( ESP32 )
extern ESP32WebServer http_server;
#endif
void http_server_setup();
void http_server_loop();
#endif