equal
deleted
inserted
replaced
519 } |
519 } |
520 |
520 |
521 /*Compare new and old PDO*/ |
521 /*Compare new and old PDO*/ |
522 if(d->PDO_status[pdoNum].last_message.cob_id.w == pdo.cob_id.w && |
522 if(d->PDO_status[pdoNum].last_message.cob_id.w == pdo.cob_id.w && |
523 d->PDO_status[pdoNum].last_message.len == pdo.len && |
523 d->PDO_status[pdoNum].last_message.len == pdo.len && |
|
524 #ifdef UNS64 |
524 *(UNS64*)(&d->PDO_status[pdoNum].last_message.data[0]) == *(UNS64*)(&pdo.data[0])){ |
525 *(UNS64*)(&d->PDO_status[pdoNum].last_message.data[0]) == *(UNS64*)(&pdo.data[0])){ |
|
526 #else /* don't ALLOW_64BIT_OPS*/ |
|
527 *(UNS32*)(&d->PDO_status[pdoNum].last_message.data[0]) == *(UNS32*)(&pdo.data[0]) && |
|
528 *(UNS32*)(&d->PDO_status[pdoNum].last_message.data[4]) == *(UNS32*)(&pdo.data[4])){ |
|
529 #endif |
525 /* No changes -> go to next pdo*/ |
530 /* No changes -> go to next pdo*/ |
526 status = state11; |
531 status = state11; |
527 }else{ |
532 }else{ |
528 |
533 |
529 UNS16 EventTimerDuration; |
534 UNS16 EventTimerDuration; |