Skip to content

Commit

Permalink
Fix typo (co -> CO) in main_blank.c
Browse files Browse the repository at this point in the history
  • Loading branch information
Inviz committed Aug 23, 2021
1 parent 9d1e99f commit 309024f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/main_blank.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -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);
}
}

Expand Down

0 comments on commit 309024f

Please sign in to comment.