Skip to content

Commit 30ac7f2

Browse files
zklapowSh3Rm4n
authored andcommitted
small comment fixes
1 parent f9270cb commit 30ac7f2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- Added support for more CAN bit rates and modes. ([#186](https://github.com/stm32-rs/stm32f3xx-hal/pull/186)
13+
1014
## [v0.6.1] - 2020-12-10
1115

1216
### Changed

src/can.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use crate::stm32;
2020
use nb::{self, Error};
2121

2222
use core::sync::atomic::{AtomicU8, Ordering};
23-
use stm32::can::btr::LBKM_A;
23+
pub use stm32::can::btr::LBKM_A;
2424

2525
const EXID_MASK: u32 = 0b1_1111_1111_1100_0000_0000_0000_0000;
2626
const MAX_EXTENDED_ID: u32 = 0x1FFF_FFFF;
@@ -360,7 +360,7 @@ impl Can {
360360
_tx: tx,
361361
}
362362
}
363-
/// Initialize the CAN Peripheral
363+
/// Initialize the CAN Peripheral using default options from `CanOpts::default()`
364364
pub fn new(
365365
can: stm32::CAN,
366366
rx: gpioa::PA11<AF9>,

0 commit comments

Comments
 (0)