From 904b9cf802990d0e73f235f6bfd78e337df81646 Mon Sep 17 00:00:00 2001 From: Rob Tillaart Date: Mon, 4 May 2026 14:32:53 +0200 Subject: [PATCH] fix --- I2C_eeprom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/I2C_eeprom.cpp b/I2C_eeprom.cpp index c46cb4f..c5dd263 100644 --- a/I2C_eeprom.cpp +++ b/I2C_eeprom.cpp @@ -87,7 +87,7 @@ uint16_t I2C_eeprom::partition(uint16_t offset, uint16_t size) // verify partition is within EEPROM uint32_t tmp = offset; tmp += size; - if (tmp >= deviceSize) + if (tmp >= _deviceSize) { return 0; // ? }