Skip to content

Commit 895a4d8

Browse files
Remove no-op.
I thought it clarified things but clippy didn't like it.
1 parent 9353242 commit 895a4d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp23s17.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const ADDRESS_0: u8 = 0;
3737
/// Perform a write on the MCP23S17
3838
///
3939
/// 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;
40+
const WRITE_COMMAND: u8 = (CONTROL_PREFIX << 4) | (ADDRESS_0 << 1);
4141

4242
/// Perform a write on the MCP23S17
4343
///

0 commit comments

Comments
 (0)