author | etisserant |
Thu, 20 Mar 2008 15:27:58 +0100 | |
changeset 427 | 6deafe46484f |
parent 426 | 8011552b1319 |
child 428 | 25b06f59f123 |
src/emcy.c | file | annotate | diff | comparison | revisions |
--- a/src/emcy.c Thu Mar 20 15:14:07 2008 +0100 +++ b/src/emcy.c Thu Mar 20 15:27:58 2008 +0100 @@ -101,7 +101,7 @@ MSG_WAR(0x3051, "sendEMCY", 0); - m.cob_id = UNS16_LE(*(UNS16*)d->error_cobid); + m.cob_id = UNS16_LE(*(UNS32*)d->error_cobid); m.rtr = NOT_A_REQUEST; m.len = 8; m.data[0] = errCode & 0xFF; /* LSB */