aboutsummaryrefslogtreecommitdiffstats
path: root/fw/tests/system/can_echo_systest.c
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-11-01 11:21:25 -0400
committerSam Anthony <sam@samanthony.xyz>2025-11-01 11:21:25 -0400
commitd2376ed99656b5e6bad4f649c108d1908875078b (patch)
tree02065ea2044fe4cf24a05eb75168994e7aa8b902 /fw/tests/system/can_echo_systest.c
parent3907711d2abca4277e1dbe01b98e0c7f3cc1304e (diff)
downloadcan-gauge-interface-d2376ed99656b5e6bad4f649c108d1908875078b.zip
update systests
Diffstat (limited to 'fw/tests/system/can_echo_systest.c')
-rw-r--r--fw/tests/system/can_echo_systest.c12
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) {