mirror of
https://gitlab.cern.ch/wotsubo/endcap-sl-software-ri-generator.git
synced 2025-02-23 00:57:08 +09:00
fix: missing interpolation (reg_type_def_masked, SlId
)
This commit is contained in:
parent
9a882fdab1
commit
cc0fe59b28
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ fn reg_type_def_masked(
|
||||||
type Error = DataConversionError<#type_ux, Self>;
|
type Error = DataConversionError<#type_ux, Self>;
|
||||||
|
|
||||||
fn try_from(value: #type_ux) -> Result<Self, Self::Error> {
|
fn try_from(value: #type_ux) -> Result<Self, Self::Error> {
|
||||||
Ok(SlId(value & #mask))
|
Ok(Self(value & #mask))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
impl From<#upper_camel_name> for #type_ux {
|
impl From<#upper_camel_name> for #type_ux {
|
||||||
|
|
Loading…
Reference in a new issue