diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a5893d..21d8603 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [unreleased] +## [v0.4.1] + +### Fixed + +- Initial blockmode setting was not set in SPI constructor + ## [v0.4.0] ### Changed diff --git a/Cargo.toml b/Cargo.toml index b8c0ca7..28341dc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "va108xx-hal" -version = "0.4.0" +version = "0.4.1" authors = ["Robin Mueller "] edition = "2021" description = "HAL for the Vorago VA108xx family of microcontrollers" diff --git a/src/spi.rs b/src/spi.rs index f4208b7..4a95748 100644 --- a/src/spi.rs +++ b/src/spi.rs @@ -428,6 +428,7 @@ macro_rules! spi { w.sod().bit(sod); w.ms().bit(ms); w.mdlycap().bit(mdlycap); + w.blockmode().bit(init_blockmode); unsafe { w.ss().bits(ss) } });