projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Switch flash drivers __xdata to __pdata
[fw/altos]
/
src
/
ao.h
diff --git
a/src/ao.h
b/src/ao.h
index ac5615bb29b63d9a074438b3964c4abf2f67d1e7..e52a2198c4645eb3f45377f4f96dc4321521ec92 100644
(file)
--- a/
src/ao.h
+++ b/
src/ao.h
@@
-464,16
+464,16
@@
ao_mutex_put(__xdata uint8_t *ao_mutex) __reentrant;
*/
/* Total bytes of available storage */
*/
/* Total bytes of available storage */
-extern __
x
data uint32_t ao_storage_total;
+extern __
p
data uint32_t ao_storage_total;
/* Block size - device is erased in these units. At least 256 bytes */
/* Block size - device is erased in these units. At least 256 bytes */
-extern __
x
data uint32_t ao_storage_block;
+extern __
p
data uint32_t ao_storage_block;
/* Byte offset of config block. Will be ao_storage_block bytes long */
/* Byte offset of config block. Will be ao_storage_block bytes long */
-extern __
x
data uint32_t ao_storage_config;
+extern __
p
data uint32_t ao_storage_config;
/* Storage unit size - device reads and writes must be within blocks of this size. Usually 256 bytes. */
/* Storage unit size - device reads and writes must be within blocks of this size. Usually 256 bytes. */
-extern __
x
data uint16_t ao_storage_unit;
+extern __
p
data uint16_t ao_storage_unit;
#define AO_STORAGE_ERASE_LOG (ao_storage_config + AO_CONFIG_MAX_SIZE)
#define AO_STORAGE_ERASE_LOG (ao_storage_config + AO_CONFIG_MAX_SIZE)