aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/main.c')
-rw-r--r--demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/main.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/main.c b/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/main.c
index 7d7e32850..2e8286383 100644
--- a/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/main.c
+++ b/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/main.c
@@ -25,7 +25,7 @@
#include "shell.h"
#include "lwipthread.h"
-#include "web/web.h"
+#include "httpd.h"
#include "ff.h"
@@ -324,8 +324,9 @@ int main(void) {
/*
* Creates the HTTP thread (it changes priority internally).
*/
- chThdCreateStatic(wa_http_server, sizeof(wa_http_server), NORMALPRIO + 1,
- http_server, NULL);
+// chThdCreateStatic(wa_http_server, sizeof(wa_http_server), NORMALPRIO + 1,
+// http_server, NULL);
+ httpd_init();
/*
* Normal main() thread activity, handling SD card events and shell