- OS Thread function definition macros have been replaced by typedefs
This commit is contained in:
parent
e83c47b041
commit
903258a796
@ -42,7 +42,7 @@ static void ethintf_register(EthInterface * intf) {
|
||||
}
|
||||
|
||||
// interface processing thread
|
||||
static ETHLIB_OS_THREAD_FUNCTION(task_ethintf);
|
||||
static ThreadReturnType task_ethintf (ThreadParamType param);
|
||||
|
||||
EthInterface *ethintf_new(EthIODef * io) {
|
||||
EthInterface * ethIntf = (EthInterface *)dynmem_alloc(sizeof(EthInterface));
|
||||
@ -75,7 +75,7 @@ EthInterface *ethintf_new(EthIODef * io) {
|
||||
return ethIntf;
|
||||
}
|
||||
|
||||
static ETHLIB_OS_THREAD_FUNCTION(task_ethintf) {
|
||||
static ThreadReturnType task_ethintf (ThreadParamType param) {
|
||||
EthInterface * intf = (EthInterface *) param;
|
||||
while (true) {
|
||||
ETHLIB_OS_SEM_WAIT(&intf->rxSem);
|
||||
|
Loading…
x
Reference in New Issue
Block a user