Skip to content

Commit

Permalink
Fix docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
Red-M committed Jul 29, 2021
1 parent 8f50b94 commit f8ddbe0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion adafruit_mcp230xx/mcp23017.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def io_control(self):
Bit 4 is whether SDA slew rate is enabled (1 = yes). Bit 5 is if I2C
address pointer auto-increments (1 = no). Bit 6 is whether interrupt
pins are internally connected (1 = yes). Bit 7 is whether registers
are all in one bank (1 = no), this is silently ignored if set to `1`.
are all in one bank (1 = no), this is silently ignored if set to ``1``.
"""
return self._read_u8(_MCP23017_IOCON)

Expand Down
2 changes: 1 addition & 1 deletion adafruit_mcp230xx/mcp23s17.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def io_control(self):
Bit 4 is whether SDA slew rate is enabled (1 = yes). Bit 5 is if SPI
address pointer auto-increments (1 = no). Bit 6 is whether interrupt
pins are internally connected (1 = yes). Bit 7 is whether registers
are all in one bank (1 = no), this is silently ignored if set to `1`.
are all in one bank (1 = no), this is silently ignored if set to ``1``.
"""
return self._read_u8(_MCP23S17_IOCON)

Expand Down

0 comments on commit f8ddbe0

Please sign in to comment.