From 309024f3121f904def2dacc25da6379721f98038 Mon Sep 17 00:00:00 2001 From: Yaroslaff Fedin Date: Mon, 23 Aug 2021 14:06:10 +0800 Subject: [PATCH] Fix typo (co -> CO) in main_blank.c --- example/main_blank.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/main_blank.c b/example/main_blank.c index 5a901d6..cb54eb0 100644 --- a/example/main_blank.c +++ b/example/main_blank.c @@ -251,7 +251,7 @@ int main (void){ void tmrTask_thread(void){ for(;;) { - CO_LOCK_OD(co->CANmodule); + CO_LOCK_OD(CO->CANmodule); if (!CO->nodeIdUnconfigured && CO->CANmodule->CANnormal) { bool_t syncWas = false; /* get time difference since last function call */ @@ -269,7 +269,7 @@ void tmrTask_thread(void){ /* Further I/O or nonblocking application code may go here. */ } - CO_UNLOCK_OD(co->CANmodule); + CO_UNLOCK_OD(CO->CANmodule); } }