From bb84b19faf65b25e3712881c1e9c300dfb69fc13 Mon Sep 17 00:00:00 2001 From: ekinohito <53277590+ekinohito@users.noreply.github.com> Date: Mon, 25 Nov 2024 10:36:16 +0300 Subject: [PATCH] Fix RobTillaart/I2C_EEPROM#79 (#80) --- I2C_eeprom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/I2C_eeprom.cpp b/I2C_eeprom.cpp index ad0f399..3a50d1d 100644 --- a/I2C_eeprom.cpp +++ b/I2C_eeprom.cpp @@ -36,7 +36,7 @@ // PUBLIC FUNCTIONS // I2C_eeprom::I2C_eeprom(const uint8_t deviceAddress, TwoWire * wire) : - I2C_eeprom(deviceAddress, I2C_PAGESIZE_24LC256, wire) + I2C_eeprom(deviceAddress, I2C_DEVICESIZE_24LC256, wire) { }