Skip to content

Commit 7602a70

Browse files
Fixed some erroneous tabs in the can examples
1 parent 56e92d6 commit 7602a70

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/can-echo.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fn main() -> ! {
4545
can1.configure(|config| {
4646
// APB1 (PCLK1): 130MHz, Bit rate: 512kBit/s, Sample Point 87.5%
4747
// Value was calculated with http://www.bittiming.can-wiki.info/
48-
config.set_bit_timing(0x001e_000b);
48+
config.set_bit_timing(0x001e_000b);
4949
});
5050

5151
// Configure filters so that can frames can be received.
@@ -62,7 +62,7 @@ fn main() -> ! {
6262
can2.configure(|config| {
6363
// APB1 (PCLK1): 130MHz, Bit rate: 512kBit/s, Sample Point 87.5%
6464
// Value was calculated with http://www.bittiming.can-wiki.info/
65-
config.set_bit_timing(0x001e_000b);
65+
config.set_bit_timing(0x001e_000b);
6666
});
6767

6868
// A total of 28 filters are shared between the two CAN instances.

examples/can-loopback.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ fn main() -> ! {
4747
can.configure(|config| {
4848
// APB1 (PCLK1): 130MHz, Bit rate: 512kBit/s, Sample Point 87.5%
4949
// Value was calculated with http://www.bittiming.can-wiki.info/
50-
config.set_bit_timing(0x001e_000b);
50+
config.set_bit_timing(0x001e_000b);
5151
config.set_loopback(true);
5252
config.set_silent(true);
5353
});

0 commit comments

Comments
 (0)