Skip to content

Commit 5a25904

Browse files
committed
modify: Quality bits into separated flags
1 parent b73c65d commit 5a25904

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rs-matter/src/data_model/objects/attribute.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ bitflags! {
7272
#[derive(Default)]
7373
pub struct Quality: u8 {
7474
const NONE = 0x00;
75-
const SCENE = 0x01;
76-
const PERSISTENT = 0x02;
77-
const FIXED = 0x03;
78-
const NULLABLE = 0x04;
75+
const SCENE = 0x01; // Short: S
76+
const PERSISTENT = 0x02; // Short: N
77+
const FIXED = 0x04; // Short: F
78+
const NULLABLE = 0x08; // Short: X
7979
}
8080
}
8181

0 commit comments

Comments
 (0)