Skip to content

Commit

Permalink
Add comment to SELFTEST_SUCCESS constant
Browse files Browse the repository at this point in the history
Co-authored-by: Danilo Bargen <mail@dbrgn.ch>
  • Loading branch information
hawkw and dbrgn authored Jul 20, 2024
1 parent 6bdf2e7 commit 4c3f685
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ pub struct Sgp30<I2C, D> {
initialized: bool,
}

/// The fixed data pattern returned when the on-chip self-test is successful.
const SELFTEST_SUCCESS: &[u8] = &[0xd4, 0x00];

impl<I2C, D> Sgp30<I2C, D>
Expand Down

0 comments on commit 4c3f685

Please sign in to comment.