diff --git a/core/cfs/cfs-coffee.c b/core/cfs/cfs-coffee.c index 29ca58f67..8872997ce 100644 --- a/core/cfs/cfs-coffee.c +++ b/core/cfs/cfs-coffee.c @@ -1184,7 +1184,7 @@ cfs_write(int fd, const void *buf, unsigned size) #if COFFEE_MICRO_LOGS #if COFFEE_IO_SEMANTICS - if(!(fdp->io_flags & CFS_COFFEE_IO_TOGGLE_ONLY) && + if(!(fdp->io_flags & CFS_COFFEE_IO_FLASH_AWARE) && (FILE_MODIFIED(file) || fdp->offset < file->end)) { #else if(FILE_MODIFIED(file) || fdp->offset < file->end) { diff --git a/core/cfs/cfs-coffee.h b/core/cfs/cfs-coffee.h index 1a999a5f8..4e2fb52d9 100644 --- a/core/cfs/cfs-coffee.h +++ b/core/cfs/cfs-coffee.h @@ -50,7 +50,7 @@ * * \sa cfs_coffee_set_io_semantics() */ -#define CFS_COFFEE_IO_TOGGLE_ONLY 0x1 +#define CFS_COFFEE_IO_FLASH_AWARE 0x1 /** * Instruct Coffee not to attempt to extend the file when there is @@ -61,7 +61,7 @@ * * \sa cfs_coffee_set_io_semantics() */ -#define CFS_COFFEE_IO_FIRM_SIZE 0x2 +#define CFS_COFFEE_IO_FIRM_SIZE 0x2 /** * \file