From 063a7a56e5294b87b679f14ff64287b5569c7274 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Sat, 11 Dec 2021 17:45:06 +0100 Subject: [PATCH 1/2] init blockmode was not set --- src/spi.rs | 1 + 1 file changed, 1 insertion(+) 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) } }); From 2ad405d3252fd0d89d1b934f87dd5f90509acd2e Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Sat, 11 Dec 2021 17:46:05 +0100 Subject: [PATCH 2/2] update changelog, bump to v0.4.1 --- CHANGELOG.md | 6 ++++++ Cargo.toml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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"