Skip to content

Commit 141a179

Browse files
committed
fix
1 parent d8e1839 commit 141a179

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/control_word.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pub const DEVICE_CHARS: usize = 4;
55
pub struct ControlWord0(u8);
66

77
impl ControlWord0 {
8-
pub const WORD_SELECT_BIT: u8 = 0b1000_0000; // MSB is 1 for control word 1
8+
pub const WORD_SELECT_BIT: u8 = 0b0000_0000; // MSB is 1 for control word 1
99
pub const WAKE_BIT: u8 = 0b0100_0000;
1010
pub const PEAK_CURRENT_MASK: u8 = 0b0011_0000;
1111
pub const BRIGHTNESS_MASK: u8 = 0b0000_1111;

0 commit comments

Comments
 (0)