Oops filter was misconfigured
This commit is contained in:
parent
df13585c01
commit
c6fedbd759
|
@ -209,7 +209,7 @@ int main(void)
|
|||
canfilterconfig.FilterActivation = CAN_FILTER_ENABLE;
|
||||
canfilterconfig.FilterBank = 0;
|
||||
canfilterconfig.FilterFIFOAssignment = CAN_FILTER_FIFO0;
|
||||
canfilterconfig.FilterIdHigh = 0 << (16 - 11);
|
||||
canfilterconfig.FilterIdHigh = CAN_ID_RX << (16 - 11);
|
||||
canfilterconfig.FilterIdLow = 0;
|
||||
canfilterconfig.FilterMaskIdHigh = 0x7FF << (16 - 11);
|
||||
canfilterconfig.FilterMaskIdLow = 0;
|
||||
|
|
Loading…
Reference in New Issue