X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/7765317e73f5c4e9b0e9f2f28a56091efe5e4930..d42b52780581fef80ae7161ce4e379b074392ec9:/latester/test.c diff --git a/latester/test.c b/latester/test.c index 214565f..ec3f0e4 100644 --- a/latester/test.c +++ b/latester/test.c @@ -3,8 +3,7 @@ int main(int argc, char *argv[]) { - struct can_frame cf = { .can_id = 0x0f111121 | CAN_EFF_FLAG, .can_dlc = 1, .data = { 0x22 } }; + struct can_frame cf = { .can_id = 0x123, .can_dlc = 2, .data = { 0x00, 0xff } }; printf("Length: %u\n", calc_frame_length(&cf)); - return 0; }