X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fcc1111%2Fao_intflash.c;fp=src%2Fcc1111%2Fao_intflash.c;h=632e2a850caa17e8b148717b4200caf08c6aaa54;hp=d76d954e16a071f2cf7f924fd8ac676964f0673e;hb=258b75498916183ed250d3abb3282fe3d843e7a1;hpb=128bbfa150f88c09f7adde2434b7bf0b5a9ed556 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; }