We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9353242 commit 895a4d8Copy full SHA for 895a4d8
src/mcp23s17.rs
@@ -37,7 +37,7 @@ const ADDRESS_0: u8 = 0;
37
/// Perform a write on the MCP23S17
38
///
39
/// Is of the format `0 1 0 0 A2 A1 A0 R/W`
40
-const WRITE_COMMAND: u8 = (CONTROL_PREFIX << 4) | (ADDRESS_0 << 1) | 0;
+const WRITE_COMMAND: u8 = (CONTROL_PREFIX << 4) | (ADDRESS_0 << 1);
41
42
43
0 commit comments