projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altos: Allow ports to use type other than 'void *' for gpio block
[fw/altos]
/
src
/
kernel
/
ao_storage.h
diff --git
a/src/kernel/ao_storage.h
b/src/kernel/ao_storage.h
index 026074b5d2db4c2bd30768a2e1fcd2de780bc636..ff8548eb150d71bb73a92ddf4457e7079a7a760f 100644
(file)
--- a/
src/kernel/ao_storage.h
+++ b/
src/kernel/ao_storage.h
@@
-44,6
+44,10
@@
extern ao_pos_t ao_storage_block;
#define USE_STORAGE_CONFIG 1
#endif
+#ifndef AO_STORAGE_ERASED_BYTE
+#define AO_STORAGE_ERASED_BYTE 0xff
+#endif
+
#if USE_STORAGE_CONFIG
/* Byte offset of config block. Will be ao_storage_block bytes long */
extern ao_pos_t ao_storage_config;