Skip to content

Commit 2f76eb9

Browse files
authored
Merge pull request #700 from ierturk/master
Fix alternate function for LTDC pins PB0 PB1
2 parents 0af3c30 + db18017 commit 2f76eb9

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

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

1010
- Added an example to show how to do DMA with UART (Rx only) [#698]
1111

12+
### Fixed
13+
- Missing alternate function definition for LTDC pins PB0 PB1
14+
1215
## [v0.18.0] - 2023-11-19
1316

1417
### Changed

src/gpio/f4.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -770,8 +770,8 @@ gpio!(GPIOA, gpioa, PA, 'A', PAn, [
770770

771771
#[cfg(feature = "gpio-f427")]
772772
gpio!(GPIOB, gpiob, PB, 'B', PBn, [
773-
PB0: (pb0, 0, [1, 2, 3, 9, 10, 11]),
774-
PB1: (pb1, 1, [1, 2, 3, 9, 10, 11]),
773+
PB0: (pb0, 0, [1, 2, 3, 9, 10, 11, 14]),
774+
PB1: (pb1, 1, [1, 2, 3, 9, 10, 11, 14]),
775775
PB2: (pb2, 2, []),
776776
PB3: (pb3, 3, [0, 1, 5, 6], super::Debugger),
777777
PB4: (pb4, 4, [0, 2, 5, 6, 7], super::Debugger),

0 commit comments

Comments
 (0)