projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
another test round
[fw/altos]
/
src
/
ao_intflash.c
diff --git
a/src/ao_intflash.c
b/src/ao_intflash.c
index 88d1f7f6a96e97f99370ce2f485b2e779d80a5fe..d76d954e16a071f2cf7f924fd8ac676964f0673e 100644
(file)
--- a/
src/ao_intflash.c
+++ b/
src/ao_intflash.c
@@
-47,16
+47,16
@@
__xdata __at(AO_INTFLASH_LOCATION) uint8_t ao_intflash[AO_INTFLASH_SIZE];
/* Total bytes of available storage */
__xdata __at(AO_INTFLASH_LOCATION) uint8_t ao_intflash[AO_INTFLASH_SIZE];
/* Total bytes of available storage */
-__
x
data uint32_t ao_storage_total = sizeof(ao_intflash);
+__
p
data uint32_t ao_storage_total = sizeof(ao_intflash);
/* Block size - device is erased in these units. */
/* Block size - device is erased in these units. */
-__
x
data uint32_t ao_storage_block = AO_INTFLASH_BLOCK;
+__
p
data uint32_t ao_storage_block = AO_INTFLASH_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 */
-__
x
data uint32_t ao_storage_config = sizeof(ao_intflash) - AO_INTFLASH_BLOCK;
+__
p
data uint32_t ao_storage_config = sizeof(ao_intflash) - AO_INTFLASH_BLOCK;
/* Storage unit size - device reads and writes must be within blocks of this size. */
/* Storage unit size - device reads and writes must be within blocks of this size. */
-__
x
data uint16_t ao_storage_unit = AO_INTFLASH_BLOCK;
+__
p
data uint16_t ao_storage_unit = AO_INTFLASH_BLOCK;
__xdata static uint8_t ao_intflash_dma_done;
static uint8_t ao_intflash_dma;
__xdata static uint8_t ao_intflash_dma_done;
static uint8_t ao_intflash_dma;