Skip to content

Commit c0645af

Browse files
authored
Update adafruit_24lc32.py fix typo
also improve comment
1 parent 9dba90f commit c0645af

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

adafruit_24lc32.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@ class EEPROM_I2C(EEPROM):
223223
Default is ``False``.
224224
:param wp_pin: (Optional) Physical pin connected to the ``WP`` breakout pin.
225225
Must be a ``DigitalInOut`` object.
226+
:param max_int: (Optional) Maximum # bytes stored in the EEPROM.
227+
Default is ``_MAX_SIZE_I2C``
226228
"""
227229

228230
# pylint: disable=too-many-arguments
@@ -232,7 +234,7 @@ def __init__(
232234
address: int = 0x50,
233235
write_protect: bool = False,
234236
wp_pin: Optional[DigitalInOut] = None,
235-
max_size: in = _MAX_SIZE_I2C
237+
max_size: int = _MAX_SIZE_I2C
236238
) -> None:
237239
from adafruit_bus_device.i2c_device import ( # pylint: disable=import-outside-toplevel
238240
I2CDevice as i2cdev,

0 commit comments

Comments
 (0)