Skip to content

Commit

Permalink
Update adafruit_24lc32.py fix typo
Browse files Browse the repository at this point in the history
also improve comment
  • Loading branch information
TonyLHansen committed Jan 6, 2024
1 parent 9dba90f commit c0645af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion adafruit_24lc32.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ class EEPROM_I2C(EEPROM):
Default is ``False``.
:param wp_pin: (Optional) Physical pin connected to the ``WP`` breakout pin.
Must be a ``DigitalInOut`` object.
:param max_int: (Optional) Maximum # bytes stored in the EEPROM.
Default is ``_MAX_SIZE_I2C``
"""

# pylint: disable=too-many-arguments
Expand All @@ -232,7 +234,7 @@ def __init__(
address: int = 0x50,
write_protect: bool = False,
wp_pin: Optional[DigitalInOut] = None,
max_size: in = _MAX_SIZE_I2C
max_size: int = _MAX_SIZE_I2C
) -> None:
from adafruit_bus_device.i2c_device import ( # pylint: disable=import-outside-toplevel
I2CDevice as i2cdev,
Expand Down

0 comments on commit c0645af

Please sign in to comment.