diff --git a/ee.c b/ee.c index f3757c4..6b84a7a 100644 --- a/ee.c +++ b/ee.c @@ -231,7 +231,7 @@ bool ee_writeToRam(uint32_t startVirtualAddress, uint32_t len, uint8_t* data) #endif } //########################################################################################################## -bool ee_writeRamToFlash(void) +bool ee_commit(void) { #if (_EE_USE_RAM_BYTE > 0) if (ee_format(true) == false) diff --git a/ee.h b/ee.h index 49ad91c..af046d7 100644 --- a/ee.h +++ b/ee.h @@ -7,7 +7,10 @@ Instagram: http://instagram.com/github.NimaLTD Youtube: https://www.youtube.com/channel/UCUhY7qY1klJm1d2kulr9ckw - Version: 2.0.0 + Version: 2.0.1 + + (2.0.1) + Change function name to ee_commit(). Reversion History: (2.0.0) @@ -27,8 +30,8 @@ bool ee_init(void); bool ee_format(bool keepRamData); bool ee_read(uint32_t startVirtualAddress, uint32_t len, uint8_t* data); bool ee_write(uint32_t startVirtualAddress, uint32_t len, uint8_t* data); -bool ee_writeToRam(uint32_t startVirtualAddress, uint32_t len, uint8_t* data); -bool ee_writeRamToFlash(void); +bool ee_writeToRam(uint32_t startVirtualAddress, uint32_t len, uint8_t* data); // only use when _EE_USE_RAM_BYTE is enabled +bool ee_commit(void); // only use when _EE_USE_RAM_BYTE is enabled uint32_t ee_maxVirtualAddress(void); //################################################################################################################