Update CAN filters

This commit is contained in:
XANTRONIX Development 2024-02-04 12:06:23 -05:00
parent dda00b50a0
commit 29bc6c058b

View file

@ -74,8 +74,8 @@ int hexagram_cluster_filter_can_if(hexagram_can_if *can_if) {
struct can_filter filters[4] = { struct can_filter filters[4] = {
{ .can_id = 0x280, .can_mask = 0x3f0 }, { .can_id = 0x280, .can_mask = 0x3f0 },
{ .can_id = 0x320, .can_mask = 0x320 }, { .can_id = 0x320, .can_mask = 0x320 },
{ .can_id = 0x540, .can_mask = 0x540 }, { .can_id = 0x420, .can_mask = 0x730 },
{ .can_id = 0x5a0, .can_mask = 0x5a0 } { .can_id = 0x540, .can_mask = 0x5ff }
}; };
return setsockopt(hexagram_can_if_fd(can_if), return setsockopt(hexagram_can_if_fd(can_if),