This commit is contained in:
Anders Sandstrom
2021-03-03 16:34:50 +01:00
parent 963aba576e
commit b9115a6581
2 changed files with 75 additions and 2 deletions

View File

@@ -200,7 +200,7 @@ int ecmcCANOpenSDO::frameEqual(can_frame *frame1,can_frame *frame2) {
return 1;
}
return 0;
//return memcmp(frame1,frame2, sizeof(can_frame)) == 0;
//return memcmp(frame1,frame2, sizeof(can_frame)) == 0; Why not working, union??!?
}
void ecmcCANOpenSDO::printBuffer() {
@@ -235,4 +235,4 @@ void ecmcCANOpenSDO::printBuffer() {
//# r 0x583 [8] 0x00 0xC2 0x01 0x00 0x00 0x00 0x00 0x00
//# r 0x583 [8] 0x10 0x00 0xC8 0x48 0x51 0x2F 0x00 0x00
//# r 0x583 [8] 0x00 0x5C 0x2D 0x81 0x14 0x67 0x0D 0xA6
//
//