Merge pull request #333 from Inviz/patch-1
Fix typo (co -> CO) in main_blank.c
This commit is contained in:
commit
d38287a8e2
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue