aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/RNDISEthernet/Lib/TCP.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-06-07 07:20:33 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-06-07 07:20:33 +0000
commit33a018474913701fa9ef8e962acf58accd1184d2 (patch)
tree8954e1c1ed31219db7f2143d375b6ad7a5142bc1 /Demos/Device/LowLevel/RNDISEthernet/Lib/TCP.h
parent2793c88fc601dcc7ec4961326dd9748a20f3ec83 (diff)
downloadlufa-33a018474913701fa9ef8e962acf58accd1184d2.tar.gz
lufa-33a018474913701fa9ef8e962acf58accd1184d2.tar.bz2
lufa-33a018474913701fa9ef8e962acf58accd1184d2.zip
Converted device mode low-level demos to schedulerless.
Diffstat (limited to 'Demos/Device/LowLevel/RNDISEthernet/Lib/TCP.h')
-rw-r--r--Demos/Device/LowLevel/RNDISEthernet/Lib/TCP.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/Demos/Device/LowLevel/RNDISEthernet/Lib/TCP.h b/Demos/Device/LowLevel/RNDISEthernet/Lib/TCP.h
index d4b72a519..313bd0216 100644
--- a/Demos/Device/LowLevel/RNDISEthernet/Lib/TCP.h
+++ b/Demos/Device/LowLevel/RNDISEthernet/Lib/TCP.h
@@ -38,9 +38,7 @@
/* Includes: */
#include <avr/io.h>
- #include <stdbool.h>
-
- #include <LUFA/Scheduler/Scheduler.h>
+ #include <stdbool.h>
#include "EthernetProtocols.h"
#include "Ethernet.h"
@@ -230,14 +228,12 @@
uint16_t UrgentPointer; /**< Urgent data pointer */
} TCP_Header_t;
- /* Tasks: */
- TASK(TCP_Task);
-
/* External Variables: */
TCP_PortState_t PortStateTable[MAX_OPEN_TCP_PORTS];
/* Function Prototypes: */
void TCP_Init(void);
+ void TCP_Task(void);
bool TCP_SetPortState(uint16_t Port, uint8_t State, void (*Handler)(TCP_ConnectionState_t*, TCP_ConnectionBuffer_t*));
uint8_t TCP_GetPortState(uint16_t Port);
bool TCP_SetConnectionState(uint16_t Port, IP_Address_t RemoteAddress, uint16_t RemotePort, uint8_t State);