Skip to content

Commit 11befcb

Browse files
bors[bot]imihajlow
andauthored
Merge #540
540: Add missing generic param r=burrbull a=imihajlow Co-authored-by: Ivan Mikhailov <[email protected]>
2 parents 594166f + 8087c0a commit 11befcb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

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

3131
### Fixed
3232
- use register.modify instead of register.write to start PWM [#501]
33+
- add missing generic param for Spi::release implementation.
3334

3435
### Added
3536

src/spi.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,8 @@ impl<SPI: Instance, SCK, MISO, MOSI> Spi<SPI, (SCK, MISO, MOSI), true, u8, Slave
454454
}
455455
}
456456

457-
impl<SPI, SCK, MISO, MOSI, const BIDI: bool, OPERATION> Spi<SPI, (SCK, MISO, MOSI), BIDI, OPERATION>
457+
impl<SPI, SCK, MISO, MOSI, const BIDI: bool, W, OPERATION>
458+
Spi<SPI, (SCK, MISO, MOSI), BIDI, W, OPERATION>
458459
where
459460
SPI: Instance,
460461
(SCK, MISO, MOSI): Pins<SPI>,

0 commit comments

Comments
 (0)