change function name to ee_commit()

This commit is contained in:
Nima Askari ----- نیما عسکری 2020-05-14 08:59:07 +04:30 committed by GitHub
parent d92a62ab05
commit 2c7b4aaa5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

2
ee.c
View File

@ -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)

9
ee.h
View File

@ -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);
//################################################################################################################