We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8e1839 commit 141a179Copy full SHA for 141a179
src/control_word.rs
@@ -5,7 +5,7 @@ pub const DEVICE_CHARS: usize = 4;
5
pub struct ControlWord0(u8);
6
7
impl ControlWord0 {
8
- pub const WORD_SELECT_BIT: u8 = 0b1000_0000; // MSB is 1 for control word 1
+ pub const WORD_SELECT_BIT: u8 = 0b0000_0000; // MSB is 1 for control word 1
9
pub const WAKE_BIT: u8 = 0b0100_0000;
10
pub const PEAK_CURRENT_MASK: u8 = 0b0011_0000;
11
pub const BRIGHTNESS_MASK: u8 = 0b0000_1111;
0 commit comments