diff options
Diffstat (limited to 'fw/tests/system/can_echo_systest.c')
| -rw-r--r-- | fw/tests/system/can_echo_systest.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/fw/tests/system/can_echo_systest.c b/fw/tests/system/can_echo_systest.c index f0e08d2..d18289c 100644 --- a/fw/tests/system/can_echo_systest.c +++ b/fw/tests/system/can_echo_systest.c @@ -14,16 +14,20 @@ static const CanId mask0 = { .isExt = true, - .eid = {0xFF, 0xFF, 0xFF, 0x1F}}; + .eid = 0x1FFFFFFF, +}; static const CanId filter0 = { .isExt = true, - .eid = {0x67, 0x45, 0x23, 0x01}}; // 1234567h + .eid = 0x1234567, +}; static const CanId mask1 = { .isExt = false, - .sid = {.lo = 0xFF, .hi = 0x7}}; + .sid = 0x7FF, +}; static const CanId filter2 = { .isExt = false, - .sid = {.lo = 0x23, .hi = 0x1}}; // 123h + .sid = 0x123, +}; void main(void) { |