1
0
Fork 0

Fix typo (co -> CO) in main_blank.c

This commit is contained in:
Yaroslaff Fedin 2021-08-23 14:06:10 +08:00 committed by GitHub
parent 9d1e99f66e
commit 309024f312
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){
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);
}
}