Commit of new class abstraction APIs for all device demos other than the MIDI demo...
[pub/USBasp.git] / Demos / Device / RNDISEthernet / Lib / TCP.h
index d4b72a5..3448245 100644 (file)
@@ -38,9 +38,7 @@
 \r
        /* Includes: */\r
                #include <avr/io.h>\r
-               #include <stdbool.h>\r
-               \r
-               #include <LUFA/Scheduler/Scheduler.h>\r
+               #include <stdbool.h>
                \r
                #include "EthernetProtocols.h"\r
                #include "Ethernet.h"\r
                        uint16_t               Checksum; /**< TCP checksum */\r
                        uint16_t               UrgentPointer; /**< Urgent data pointer */\r
                } TCP_Header_t;\r
-\r
-       /* Tasks: */\r
-               TASK(TCP_Task);\r
                \r
        /* External Variables: */\r
                TCP_PortState_t PortStateTable[MAX_OPEN_TCP_PORTS];\r
 \r
        /* Function Prototypes: */\r
+               void                  TCP_TCPTask(USB_ClassInfo_RNDIS_t* RNDISInterfaceInfo);\r
                void                  TCP_Init(void);\r
                bool                  TCP_SetPortState(uint16_t Port, uint8_t State, void (*Handler)(TCP_ConnectionState_t*, TCP_ConnectionBuffer_t*));\r
                uint8_t               TCP_GetPortState(uint16_t Port);\r