Skip to content

Commit 134904b

Browse files
committed
Fix CAN2 remap
1 parent d6d19c6 commit 134904b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

CHANGELOG.md

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

2424
### Changed
2525

26+
- Fix CAN2 remap
2627
- `Adc::new` instead of `Adc::adcX` and `AdcExt` trait
2728
- Update `bxcan`, `heapless`, `mfrc522`, reenable `mpu9250` example [#513]
2829
- PWM timer auto reload value is now preloaded/buffered [#453]

src/afio.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,14 +318,14 @@ pub mod can2 {
318318

319319
pin! {
320320
<Tx, Alternate<PushPull>> for [
321-
PB6: [0],
322-
PB13: [1],
321+
PB13: [0],
322+
PB6: [1],
323323
],
324324
}
325325
pin! {
326326
<Rx, Input> default:Floating for [
327-
PB5: [0],
328-
PB12: [1],
327+
PB12: [0],
328+
PB5: [1],
329329
],
330330
}
331331

0 commit comments

Comments
 (0)