File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
8
8
## [ Unreleased]
9
9
10
+ ### Added
11
+
12
+ - Missing ` inline ` on field reader constructors
10
13
- Support for device.x generation for riscv targets and ` __EXTERNAL_INTERRUPTS ` vector table
11
14
- Re-export base's module for derived peripherals
15
+
16
+ ### Changed
17
+
12
18
- More Cluster arrays are now emitted as an array rather than a list of
13
19
elements. An ` ArrayProxy ` wrapper is used when a Rust built-in array does not
14
20
match the cluster layout. Requires the ` --const_generic ` command line option.
Original file line number Diff line number Diff line change @@ -541,6 +541,7 @@ pub fn fields(
541
541
pub struct #name_pc_r( crate :: FieldReader <#fty, #name_pc_a>) ;
542
542
543
543
impl #name_pc_r {
544
+ #[ inline( always) ]
544
545
pub ( crate ) fn new( bits: #fty) -> Self {
545
546
#name_pc_r( crate :: FieldReader :: new( bits) )
546
547
}
@@ -563,6 +564,7 @@ pub fn fields(
563
564
pub struct #name_pc_r( crate :: FieldReader <#fty, #fty>) ;
564
565
565
566
impl #name_pc_r {
567
+ #[ inline( always) ]
566
568
pub ( crate ) fn new( bits: #fty) -> Self {
567
569
#name_pc_r( crate :: FieldReader :: new( bits) )
568
570
}
You can’t perform that action at this time.
0 commit comments