summaryrefslogtreecommitdiff
path: root/src/cc1111/ao_intflash.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cc1111/ao_intflash.c')
-rw-r--r--src/cc1111/ao_intflash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cc1111/ao_intflash.c b/src/cc1111/ao_intflash.c
index d76d954e..632e2a85 100644
--- a/src/cc1111/ao_intflash.c
+++ b/src/cc1111/ao_intflash.c
@@ -180,7 +180,7 @@ ao_storage_device_read(uint32_t pos, __xdata void *d, uint16_t len) __reentrant
{
if (pos >= ao_storage_total || pos + len > ao_storage_total)
return 0;
- memcpy(d, ao_intflash+pos, len);
+ ao_xmemcpy(d, ao_intflash+pos, len);
return 1;
}