Add FatFS library to the Webserver project, extend the HTTP server so that it now...
[pub/USBasp.git] / Projects / Webserver / Lib / uip / conf / apps-conf.h
index fc9727d..76cd937 100644 (file)
@@ -1,10 +1,13 @@
 #ifndef __APPS_CONF_H__\r
 #define __APPS_CONF_H__\r
 \r
 #ifndef __APPS_CONF_H__\r
 #define __APPS_CONF_H__\r
 \r
+       #include <ff.h>\r
+\r
        typedef struct\r
        {\r
                uint8_t CurrentState;\r
        typedef struct\r
        {\r
                uint8_t CurrentState;\r
-               char*   SendPos;\r
+               FIL     FileToSend;\r
+               bool    FileOpen;\r
        } uip_tcp_appstate_t;\r
 \r
        typedef struct\r
        } uip_tcp_appstate_t;\r
 \r
        typedef struct\r