Skip to content

Commit e171daf

Browse files
authored
Merge pull request #186 from rust-embedded/fix-default
fix #184, release 0.3.6
2 parents a004c80 + e7beddd commit e171daf

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG-rust.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ This changelog tracks the Rust `svdtools` project. See
55

66
## [Unreleased]
77

8+
## [v0.3.6] 2023-11-01
9+
10+
* Fix #184
11+
812
## [v0.3.5] 2023-11-30
913

1014
* Move field with derived enums before other
@@ -106,7 +110,8 @@ Other changes:
106110

107111
* Initial release with feature-parity with the Python project.
108112

109-
[Unreleased]: https://github.com/rust-embedded/svdtools/compare/v0.3.5...HEAD
113+
[Unreleased]: https://github.com/rust-embedded/svdtools/compare/v0.3.6...HEAD
114+
[v0.3.6]: https://github.com/rust-embedded/svdtools/compare/v0.3.5...v0.3.6
110115
[v0.3.5]: https://github.com/rust-embedded/svdtools/compare/v0.3.4...v0.3.5
111116
[v0.3.4]: https://github.com/rust-embedded/svdtools/compare/v0.3.3...v0.3.4
112117
[v0.3.3]: https://github.com/rust-embedded/svdtools/compare/v0.3.2...v0.3.3

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "svdtools"
3-
version = "0.3.5"
3+
version = "0.3.6"
44
repository = "https://github.com/rust-embedded/svdtools/"
55
description = "Tool for modifying bugs in CMSIS SVD"
66
authors = [

src/patch/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,6 @@ fn make_ev_array(values: &Hash) -> Result<EnumeratedValuesBuilder> {
291291
let value = value as u64;
292292
let ev = EnumeratedValue::builder()
293293
.name(vname.into())
294-
.value(Some(value))
295294
.description(Some(description.into()));
296295
let ev = (if def {
297296
ev.is_default(Some(true))

0 commit comments

Comments
 (0)