1
0
Fork 0

Merge pull request #333 from Inviz/patch-1

Fix typo (co -> CO) in main_blank.c
This commit is contained in:
Janez 2021-08-30 07:39:22 +02:00 committed by GitHub
commit d38287a8e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -251,7 +251,7 @@ int main (void){
void tmrTask_thread(void){ void tmrTask_thread(void){
for(;;) { for(;;) {
CO_LOCK_OD(co->CANmodule); CO_LOCK_OD(CO->CANmodule);
if (!CO->nodeIdUnconfigured && CO->CANmodule->CANnormal) { if (!CO->nodeIdUnconfigured && CO->CANmodule->CANnormal) {
bool_t syncWas = false; bool_t syncWas = false;
/* get time difference since last function call */ /* 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. */ /* Further I/O or nonblocking application code may go here. */
} }
CO_UNLOCK_OD(co->CANmodule); CO_UNLOCK_OD(CO->CANmodule);
} }
} }