diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-10-08 13:05:00 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-10-08 13:05:00 +0000 |
commit | 13691d8e0c115e1cfe755067c51ca2305e26730d (patch) | |
tree | 27b24fd6edcc4cb33635eb7c4e7db951d0e27030 /demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/main.c | |
parent | f9209b444ed167dc23f114b95031c94318a58f5c (diff) | |
download | ChibiOS-13691d8e0c115e1cfe755067c51ca2305e26730d.tar.gz ChibiOS-13691d8e0c115e1cfe755067c51ca2305e26730d.tar.bz2 ChibiOS-13691d8e0c115e1cfe755067c51ca2305e26730d.zip |
Fixed bug #895.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10797 35acf78f-673a-0410-8e92-d51de3d6d3f4
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.c | 7 |
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
|