From 903258a796c58867150d19a5e96b40a34250025d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wiesner=20Andr=C3=A1s?= Date: Sat, 28 Oct 2023 07:54:04 +0200 Subject: [PATCH] - OS Thread function definition macros have been replaced by typedefs --- eth_interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eth_interface.c b/eth_interface.c index 46078f8..318f10b 100644 --- a/eth_interface.c +++ b/eth_interface.c @@ -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);