diff --git a/FRAM.cpp b/FRAM.cpp index cf7979b..16a6c74 100644 --- a/FRAM.cpp +++ b/FRAM.cpp @@ -286,7 +286,7 @@ uint16_t FRAM::getSize() { uint16_t density = (value >> 8) & 0x0F; uint16_t size = (1UL << density) * 8; // KB - _sizeBytes = size * 8192UL; + _sizeBytes = size * 1024UL; return size } // default FRAM_MANU_FUJITSU