File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ fn main() -> ! {
45
45
can1. configure ( |config| {
46
46
// APB1 (PCLK1): 130MHz, Bit rate: 512kBit/s, Sample Point 87.5%
47
47
// Value was calculated with http://www.bittiming.can-wiki.info/
48
- config. set_bit_timing ( 0x001e_000b ) ;
48
+ config. set_bit_timing ( 0x001e_000b ) ;
49
49
} ) ;
50
50
51
51
// Configure filters so that can frames can be received.
@@ -62,7 +62,7 @@ fn main() -> ! {
62
62
can2. configure ( |config| {
63
63
// APB1 (PCLK1): 130MHz, Bit rate: 512kBit/s, Sample Point 87.5%
64
64
// Value was calculated with http://www.bittiming.can-wiki.info/
65
- config. set_bit_timing ( 0x001e_000b ) ;
65
+ config. set_bit_timing ( 0x001e_000b ) ;
66
66
} ) ;
67
67
68
68
// A total of 28 filters are shared between the two CAN instances.
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ fn main() -> ! {
47
47
can. configure ( |config| {
48
48
// APB1 (PCLK1): 130MHz, Bit rate: 512kBit/s, Sample Point 87.5%
49
49
// Value was calculated with http://www.bittiming.can-wiki.info/
50
- config. set_bit_timing ( 0x001e_000b ) ;
50
+ config. set_bit_timing ( 0x001e_000b ) ;
51
51
config. set_loopback ( true ) ;
52
52
config. set_silent ( true ) ;
53
53
} ) ;
You can’t perform that action at this time.
0 commit comments