Skip to content

Commit 0166848

Browse files
authored
Fix a tiny typo in comment.
IMO `i2c2` is on PB10 and PB1*1*
1 parent cd800ce commit 0166848

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/i2c/blocking.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ impl<PINS> BlockingI2c<I2C1, PINS> {
4949
}
5050

5151
impl<PINS> BlockingI2c<I2C2, PINS> {
52-
/// Creates a blocking I2C2 object on pins PB10 and PB1
52+
/// Creates a blocking I2C2 object on pins PB10 and PB11
5353
#[allow(clippy::too_many_arguments)]
5454
pub fn i2c2<M: Into<Mode>>(
5555
i2c: I2C2,

0 commit comments

Comments
 (0)