projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CM3: add support to the IAR Embedded Workbench(TM) compiler
[bertos.git]
/
bertos
/
drv
/
flash.h
diff --git
a/bertos/drv/flash.h
b/bertos/drv/flash.h
index 543b3242d440df8da4986c551479cc433d601947..d9cf8070448fe38572a2b4edf4dad4b105ad3e37 100644
(file)
--- a/
bertos/drv/flash.h
+++ b/
bertos/drv/flash.h
@@
-45,10
+45,10
@@
* Example usage:
* \code
* Flash fls;
* Example usage:
* \code
* Flash fls;
-* flash_init(&fls
.blk
, 0);
+* flash_init(&fls, 0);
* // enable access only on desired blocks
* // start block = 50, num blocks = 20
* // enable access only on desired blocks
* // start block = 50, num blocks = 20
-* kblock_trim(&fls, 50, 20);
+* kblock_trim(&fls
.blk
, 50, 20);
* // ...
* // now write to the flash
* // block number is automatically converted
* // ...
* // now write to the flash
* // block number is automatically converted