Update CAN filters
This commit is contained in:
parent
dda00b50a0
commit
29bc6c058b
1 changed files with 2 additions and 2 deletions
|
@ -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),
|
||||||
|
|
Loading…
Add table
Reference in a new issue