File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,11 @@ This changelog tracks the Rust `svdtools` project. See
9
9
* Add ` --enum_derive ` flag
10
10
* Strip ` alternateRegister ` too
11
11
* Add ` modifiedWriteValues ` and ` readAction ` field patch (#156 )
12
+ * Fix #144
12
13
13
14
## [ v0.3.6] 2023-11-01
14
15
15
- * Fix #184
16
+ * Fix #182
16
17
17
18
## [ v0.3.5] 2023-11-30
18
19
Original file line number Diff line number Diff line change @@ -633,7 +633,7 @@ impl RegisterBlockExt for Peripheral {
633
633
}
634
634
635
635
fn clear_fields ( & mut self , rspec : & str ) -> PatchResult {
636
- for rtag in self . iter_registers ( rspec) {
636
+ for rtag in self . all_registers_mut ( ) . matched ( rspec) {
637
637
if rtag. derived_from . is_some ( ) {
638
638
continue ;
639
639
}
@@ -1099,7 +1099,7 @@ impl RegisterBlockExt for Cluster {
1099
1099
}
1100
1100
1101
1101
fn clear_fields ( & mut self , rspec : & str ) -> PatchResult {
1102
- for rtag in self . iter_registers ( rspec) {
1102
+ for rtag in self . all_registers_mut ( ) . matched ( rspec) {
1103
1103
if rtag. derived_from . is_some ( ) {
1104
1104
continue ;
1105
1105
}
You can’t perform that action at this time.
0 commit comments