|
@@ -35,7 +35,8 @@
|
|
#endif
|
|
#endif
|
|
#ifdef HTTP_SERVER_ENABLE
|
|
#ifdef HTTP_SERVER_ENABLE
|
|
#include "http_server.h"
|
|
#include "http_server.h"
|
|
-#elif defined SSL_SERVER_ENABLE
|
|
|
|
|
|
+#endif
|
|
|
|
+#ifdef SSL_SERVER_ENABLE
|
|
#include "my_ssl_server.h"
|
|
#include "my_ssl_server.h"
|
|
#endif
|
|
#endif
|
|
#ifdef PORTGW_ENABLE
|
|
#ifdef PORTGW_ENABLE
|
|
@@ -159,13 +160,13 @@ void InitTask(void *params)
|
|
LwIP_Init();
|
|
LwIP_Init();
|
|
|
|
|
|
#ifdef HTTP_SERVER_ENABLE
|
|
#ifdef HTTP_SERVER_ENABLE
|
|
-
|
|
|
|
HTTP_Init();
|
|
HTTP_Init();
|
|
|
|
+#endif
|
|
#ifdef SSL_SERVER_ENABLE
|
|
#ifdef SSL_SERVER_ENABLE
|
|
- HTTPS_Init();
|
|
|
|
|
|
+ HTTP_Init();
|
|
|
|
+ HTTPS_Init();
|
|
//#define SSL_TASK_PRIO ( configMAX_PRIORITIES - 3 )
|
|
//#define SSL_TASK_PRIO ( configMAX_PRIORITIES - 3 )
|
|
xTaskCreate(ssl_server, "SSL", 24*configMINIMAL_STACK_SIZE, NULL, SSL_TASK_PRIO, NULL);
|
|
xTaskCreate(ssl_server, "SSL", 24*configMINIMAL_STACK_SIZE, NULL, SSL_TASK_PRIO, NULL);
|
|
-#endif
|
|
|
|
#endif
|
|
#endif
|
|
// UDP for net settings
|
|
// UDP for net settings
|
|
if(strncmp(sSettings.sFlags.testState, "T2OK", 4)){
|
|
if(strncmp(sSettings.sFlags.testState, "T2OK", 4)){
|