Restyled by rustfmt
This commit is contained in:
parent
760b543d17
commit
db43ce7aeb
2 changed files with 3 additions and 9 deletions
|
@ -171,12 +171,7 @@ impl Default for Attribute {
|
|||
}
|
||||
|
||||
impl Attribute {
|
||||
pub fn new(
|
||||
id: u16,
|
||||
value: AttrValue,
|
||||
access: Access,
|
||||
quality: Quality,
|
||||
) -> Self {
|
||||
pub fn new(id: u16, value: AttrValue, access: Access, quality: Quality) -> Self {
|
||||
Attribute {
|
||||
id,
|
||||
value,
|
||||
|
|
|
@ -165,9 +165,8 @@ impl GenCommCluster {
|
|||
c.base
|
||||
.add_attribute(attr_reg_config_new(RegLocationType::IndoorOutdoor))?;
|
||||
// TODO: Arch-Specific
|
||||
c.base.add_attribute(attr_location_capability_new(
|
||||
RegLocationType::IndoorOutdoor,
|
||||
))?;
|
||||
c.base
|
||||
.add_attribute(attr_location_capability_new(RegLocationType::IndoorOutdoor))?;
|
||||
c.base.add_attribute(attr_comm_info_new())?;
|
||||
|
||||
Ok(c)
|
||||
|
|
Loading…
Add table
Reference in a new issue