projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use the directory written in the lineedit as base directory for the file dialog
[bertos.git]
/
bertos
/
drv
/
dataflash.c
diff --git
a/bertos/drv/dataflash.c
b/bertos/drv/dataflash.c
index b2fb9c869c2935cd2c3ebd769ad3af1919502177..cf639e7652c448fef35254afc1e6dde4c7c98479 100644
(file)
--- a/
bertos/drv/dataflash.c
+++ b/
bertos/drv/dataflash.c
@@
-31,7
+31,7
@@
*
* \brief Function library for dataflash AT45DB family (implementation).
*
*
* \brief Function library for dataflash AT45DB family (implementation).
*
- * \version $Id
: dataflash.c 21658 2008-06-05 16:42:54Z asterix
$
+ * \version $Id$
* \author Daniele Basile <asterix@develer.com>
* \author Francesco Sacchi <batt@develer.com>
*/
* \author Daniele Basile <asterix@develer.com>
* \author Francesco Sacchi <batt@develer.com>
*/
@@
-297,7
+297,7
@@
static size_t dataflash_disk_buffer_write(struct BattFsSuper *d, pgaddr_t addr,
{
DataFlash *fd = DATAFLASH_CAST((KFile *)d->disk_ctx);
dataflash_writeBlock(fd, addr, buf, len);
{
DataFlash *fd = DATAFLASH_CAST((KFile *)d->disk_ctx);
dataflash_writeBlock(fd, addr, buf, len);
- return
true
;
+ return
len
;
}
static size_t dataflash_disk_buffer_read(struct BattFsSuper *d, pgaddr_t addr, void *buf, size_t len)
}
static size_t dataflash_disk_buffer_read(struct BattFsSuper *d, pgaddr_t addr, void *buf, size_t len)